Changeset 19 for trunk/standards
- Timestamp:
- 12/15/07 20:31:45 (4 years ago)
- Location:
- trunk/standards
- Files:
-
- 1 added
- 6 modified
-
TODO (modified) (1 diff)
-
messages/DSDB.to.wallet.txt (modified) (1 diff)
-
messages/IS.to.wallet.txt (modified) (1 diff)
-
messages/all.txt (modified) (2 diffs)
-
protocol-containers.txt (modified) (4 diffs)
-
protocol-details.txt (added)
-
protocol.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/standards/TODO
r16 r19 25 25 Refine protocol to prevent issuers from having to store payment 26 26 Done. Need to add handshake to decide if the mint will store value 27 Add default transaction_id handling 27 Add default transaction_id handling (Both parties agreeing to a transaction_id) 28 28 Does transaction_id need to expire if it isn't seen for a few hours/days? (since it's a two-party agreement....) 29 29 Add hello/versioning/protocol handshaking -
trunk/standards/messages/DSDB.to.wallet.txt
r18 r19 24 24 Follow: Goodbye 25 25 26 LOCK_COINS_FAILURE #hex_st ing(transaction_id) #hex_string(number_of_failures)26 LOCK_COINS_FAILURE #hex_string(transaction_id) #hex_string(number_of_failures) 27 27 #key_identifier1 #encrypted_serial1 "Reason 1" 28 28 #key_identifier2 #encrypted_serial2 "Reason 2" -
trunk/standards/messages/IS.to.wallet.txt
r18 r19 20 20 MINTING_KEY_FAILURE 21 21 22 MINTING_KEY_FETCH_KEYID #hexstring(key_id) }22 MINTING_KEY_FETCH_KEYID #hexstring(key_id) 23 23 Prior: Hello 24 24 Follow: MINTING_KEY_PASS -
trunk/standards/messages/all.txt
r18 r19 146 146 MINTING_KEY_FAILURE 147 147 148 MINTING_KEY_FETCH_KEYID #hexstring(key_id) }148 MINTING_KEY_FETCH_KEYID #hexstring(key_id) 149 149 Prior: Hello 150 150 Follow: MINTING_KEY_PASS … … 309 309 Follow: Goodbye 310 310 311 LOCK_COINS_FAILURE #hex_st ing(transaction_id) #hex_string(number_of_failures)311 LOCK_COINS_FAILURE #hex_string(transaction_id) #hex_string(number_of_failures) 312 312 #key_identifier1 #encrypted_serial1 "Reason 1" 313 313 #key_identifier2 #encrypted_serial2 "Reason 2" -
trunk/standards/protocol-containers.txt
r17 r19 14 14 ExtraName1 = Value4 15 15 ExtraName2 = Value5 16 17 RepeatableExtraName1 = Value6 18 RepeatableExtraname2 = Value7 16 19 } 17 20 18 21 ContentNames and ExtraNames are always seperated by a blank line. 22 ExtraNames and RepeatableExtraNames are always seperated by a blank line. 19 23 ContentNames are required to be in all formats. ExtraNames are optional. 24 RepeatableExtraNames are optional. 25 26 If RepeatableExtraNames are used and no ExtraNames are used, the spacing between 27 the ContentNames and the RepeatableExtraNames shall be blankline, period, blankline. 20 28 21 29 When refering to a part of a structure, Name1.ContentName1 refers to the … … 25 33 A special identifier, ContentPart is the combination of all ContentNames. 26 34 27 TODO: Maybe add extra layers of ExtraNames? DSDB key seems to use them right now... 35 The identifier names in ContentNames, ExtraNames, and RepeatableExtraNames cannot 36 be the same as any other identifier. 28 37 29 38 --------------------------------------------------- … … 47 56 issuer = hash(pM) 48 57 signature = base64(sig(sM,hash(content part))) 58 59 signer = Hash(pM) 60 ad_signature = base64(sig(sM, hash(content part))) 49 61 } 50 62 … … 76 88 77 89 signer = Hash(pM) 78 signature= base64(sig(sM, hash(content part)))90 ad_signature = base64(sig(sM, hash(content part))) 79 91 } 80 92 -
trunk/standards/protocol.txt
r14 r19 15 15 short currency identifier = OC 16 16 issuer service location = opencoin://issuer.opencent.net:8002 17 denominations = 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000#list of strings seperated by commas17 denominations = strlist(1, 2, 5, 10, 20, 50, 100, 200, 500, 1000) #list of strings seperated by commas 18 18 issuer cipher suite = HASH-ALG, SIGN-ALG, BLINDING-ALG 19 19 issuer public master key = base64(pM) … … 211 211 BLANK_REJECT( list( (encrypted_serial_blank1, "Reason1"), ... ) ) 212 212 BLANK_REJECT( emptylist, "Reason") 213 214 (Todo: Add reasons)215 213 216 214 if DSDB is required (normal case):
