Changeset 77 for trunk/standards
- Timestamp:
- 02/01/08 01:10:04 (4 years ago)
- Files:
-
- 1 modified
-
trunk/standards/protocol.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/standards/protocol.txt
r76 r77 116 116 * Send 117 117 118 TRANSFER_TOKEN_REQUEST( transaction_id, list_of_options, target, \118 TRANSFER_TOKEN_REQUEST( transaction_id, list_of_options, target, \ 119 119 list_of_blinds, list_of_coins ) 120 120 … … 337 337 UNLOCK_COINS_REQUEST(transaction_id) 338 338 339 * Wallet Bob sends buy request (blanks + coins) (Wallet Bob continues as in #4 and #8) 340 (REDEEM_COINS+MINT_REQUEST) 339 * Wallet Bob sends buy request (blanks + coins) 340 341 TRANSFER_TOKEN_REQUEST( transaction_id, list_of_options, "", \ 342 list_of_blinds, list_of_coins ) 341 343 342 344 * IS has to check if sum of blanks and coins are equal 343 345 346 * (Wallet Bob and IS continue as in #4 and #8) 347 348 344 349 345 350 #7 Redeeming Coins … … 347 352 * Wallet locks serials at IS (see above LOCK_COINS) 348 353 349 * Wallet sends coins + target to IS 350 351 - target can be an account352 REDEEM_COINS_REQUEST(transaction_id, target, list(coin1, ...)353 354 target is of the form:354 * Wallet sends coins + target to IS (was: REDEEM_COINS_REQUEST) 355 356 TRANSFER_TOKEN_REQUEST( transaction_id, list_of_options, target, \ 357 (empty list), list_of_coins ) 358 359 target may be an account and is of the form: 355 360 MINT_REQUEST=#base64(request_id) 356 361 ONLINE_BANKING_ACCOUNT=#string(account_identifier) … … 370 375 - if target is valid 371 376 372 * IS rejects with reason (key id unknown, coin outdated, coin spent, signature invalid) per coin or 373 REDEEM_COINS_REJECT( list(coin1, ...) ) 377 * IS rejects with reason (key id unknown, coin outdated, coin spent, signature 378 invalid) per coin or [was: REDEEM_COINS_REJECT] 379 380 TRANSFER_TOKEN_REJECT( transaction_id, reason, 381 (empty list), list( (coin1.key_id, reason1), ... ) ) 374 382 375 383 * (IS tries to service target, rejects with reason if not possible) … … 377 385 * IS enters serials into DSDB 378 386 379 * IS sends accept to Wallet 380 REDEEM_COINS_ACCEPT 381 387 * IS sends accept to Wallet [was: REDEEM_COINS_ACCEPT] 388 389 TRANSFER_TOKEN_ACCEPT( transaction_id, message, (empty list)) 390
