Changeset 72 for trunk/standards

Show
Ignore:
Timestamp:
02/01/08 00:05:56 (4 years ago)
Author:
ocnils
Message:

Added TRANSFER_TOKEN_{REQUEST,DELAY,ACCEPT}

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/standards/protocol.txt

    r71 r72  
    110110* Send  
    111111 
    112     TRANSFER_TOKEN( transaction_id, list_of_options, target, \ 
    113                     list_of_blinds, list_of_coins ) 
     112    TRANSFER_TOKEN_REQUEST( transaction_id, list_of_options, target, \ 
     113                            list_of_blinds, list_of_coins ) 
    114114 
    115115  to IS (issuer service), where  
     
    122122    * value(list_of_blinds) < value(list_of_coins): account reference 
    123123 
    124   For now, only 'pure' transactions are allowed, so either of these must  
     124  For now, only 'pure' transactions are allowed, so one of these must  
    125125  be empty: 
    126126  * target        : coin exchange (value(list_of_blinds) = value(list_of_coins)) 
     
    135135 
    136136  where "reason" may be some general failure like "500 minting not available". 
    137   Otherwise the IS answers 
     137  If minting was requested and acccepted but postponed, IS answers 
     138 
     139    TRANSFER_TOKEN_DELAY( transaction_id, message ) 
     140 
     141  If the request is accepted with no delay, IS answers 
    138142 
    139143    TRANSFER_TOKEN_ACCEPT( transaction_id, message, list_of_singed_blinds) 
    140144 
    141   If no minting was requested, list_of_singed_blinds ist empty. 
    142   If minting was requested but delayed by the issuer, list_of_singed_blinds  
    143   is empty and message contains "300 minting delayed". 
    144  
     145  (with list_of_singed_blinds empty if no minting was required) 
    145146 
    146147