Changeset 14 for trunk/standards

Show
Ignore:
Timestamp:
12/13/07 16:57:57 (4 years ago)
Author:
ocmathew
Message:

Fix messages sent between IS and wallet when trying to redeem coins (REDEEM_COINS instead of COINS)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/standards/protocol.txt

    r13 r14  
    285285 
    286286    * Wallet Bob sends buy request (blanks + coins) (Wallet Bob continues as in #4 and #8) 
    287         (COINS_REDEEM+MINT_REQUEST) 
     287        (REDEEM_COINS+MINT_REQUEST) 
    288288 
    289289    * IS has to check if sum of blanks and coins are equal 
     
    297297   
    298298  - target can be an account 
    299     COINS_REDEEM(transaction_id, target, list(coin1, ...) 
     299    REDEEM_COINS_REQUEST(transaction_id, target, list(coin1, ...) 
    300300 
    301301    target is of the form: 
     
    318318 
    319319* IS rejects with reason (key id unknown, coin outdated, coin spent, signature invalid) per coin or  
    320      COINS_REJECT( list(coin1, ...) ) 
     320     REDEEM_COINS_REJECT( list(coin1, ...) ) 
    321321 
    322322* (IS tries to service target, rejects with reason if not possible) 
     
    325325 
    326326* IS sends accept to Wallet 
    327       COINS_ACCEPT 
    328  
     327      REDEEM_COINS_ACCEPT 
     328