Changeset 208
- Timestamp:
- 03/15/08 16:38:25 (4 years ago)
- Files:
-
- 1 modified
-
trunk/standards/protocol.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/standards/protocol.txt
r207 r208 28 28 - "Introduction", including scope of protocol 29 29 - JSON, 7-bit ASCII 30 - define coin/certificate format, encryption padding30 - define token/certificate format, encryption padding 31 31 - add note on randomness 32 32 - add PROTOCOL_ERROR 33 33 - add HANDSHAKE, CONTINUE, GOODBYE; warning that GOODBYE will disappear 34 - replace " COIN_SPEND" with "SPEND_TOKEN"34 - replace "SPEND_TOKEN_REQUEST" with "SPEND_TOKEN" 35 35 - throw out reduntant "TRANSFER_TOKEN" explanatoins 36 36 - add authentication and authorization, at least for "target" … … 270 270 Bob - receives the token 271 271 272 Note:273 The request type "COIN_SPEND" may get exchanged by "TRANSFER_TOKEN_REQUEST"274 of type "redeem" in future versions of this protocol.272 [ Warning: 273 The messages "SPEND_TOKEN_*" may get exchanged by "TRANSFER_TOKEN_*" of 274 type "redeem" or "spend" in future versions of this protocol. ] 275 275 276 276 * Prerequisites … … 297 297 serial and signature) 298 298 299 A: COIN_SPEND( transaction_id, list(token1, ...) )300 301 * The atom for a COIN_SPENDis the entire list of tokens299 A: SPEND_TOKEN_REQUEST( transaction_id, list(token1, ...) ) 300 301 * The atom for a SPEND_TOKEN_REQUEST is the entire list of tokens 302 302 303 303 * Wallet Bob checks if the sum of their values matches the announced sum, if … … 308 308 them: 309 309 310 B: COIN_REJECT( transaction_id, list( (tokenN, "ReasonN") ) )311 or COIN_REJECT( transaction_id, emptylist, "Reason")312 or COIN_ACCEPT( transaction_id )310 B: SPEND_TOKEN_REJECT( transaction_id, list( (tokenN, "ReasonN") ) ) 311 or SPEND_TOKEN_REJECT( transaction_id, emptylist, "Reason") 312 or SPEND_TOKEN_ACCEPT( transaction_id ) 313 313 314 314 Possible reasons are "unknown", "invalid" ... [ToDo].
