From 43c50ceb212b597f863baf593812f0b0d433a481 Mon Sep 17 00:00:00 2001 From: Aditya Naik Date: Fri, 1 Dec 2017 16:33:50 -0500 Subject: started work on preliminary protocol --- prelim.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 prelim.py diff --git a/prelim.py b/prelim.py new file mode 100644 index 0000000..383dc63 --- /dev/null +++ b/prelim.py @@ -0,0 +1,20 @@ +""" +priest ledger format +------------------- +front #denotes the start of the actual ledger +0/1,n,0/1 #voted or not, ballot number, promised or not +promised or not explanation: whether or not this priest has promised to not + respond to maxvote requests after this ballot + +""" + + +""" +messenger relays messages to and from the leader and the priest +""" +class messenger: + +class priest: + +class leader: + -- cgit v1.2.3