Changeset 76 for trunk/standards

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

Replace FETCH_MINTED_REQUEST with TRANSFER_TOKEN_RESUME

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/standards/protocol.txt

    r75 r76  
    177177  Else IS queues blind to the mint and tells wallet to wait 
    178178 
    179     TRANSFER_TOKEN_DELAY( transaction_id, message ) 
     179    TRANSFER_TOKEN_DELAY( transaction_id, reason ) 
    180180 
    181181  Session is terminated. 
     
    188188#5 Wallet gets coin back 
    189189 
    190 * Wallet asks issuer service "fetch_signed_blind request_id" 
    191  
    192     FETCH_MINTED_REQUEST(request_id) 
    193  
    194 * IS either rejects finally or temporarily 
    195  
    196     FETCH_MINTED_FAILURE(request_id, "Reason") 
    197     FETCH_MINTED_WAIT(request_id, "Reason") 
     190* Wallet asks issuer service (was: FETCH_MINTED_REQUEST) 
     191 
     192    TRANSFER_TOKEN_RESUME( transaction_id ) 
     193 
     194* IS either rejects finally 
     195 
     196    TRANSFER_TOKEN_REJECT( transaction_id, reason, 
     197                           list( (blind1.key_id, reason1), ... ), (empty list) ) 
    198198  
    199     Possible failures: "Request ID Unknown", "Request ID expired", "Request ID rejected" 
    200     Possible waits:    "Processing request" 
    201  
     199  with reasons like "TID Unknown", "TID expired", "TID rejected", ..., 
     200  or tells to wait longer 
     201 
     202    TRANSFER_TOKEN_DELAY( transaction_id, reason ) 
     203     
    202204  (question: what about key expiration while request is in mining queue) 
    203205 
    204206  or passes signed blinds to wallet Bob, must preserve order 
    205207 
    206     FETCH_MINTED_ACCEPT(request_id, list(signature_of_blind1, ...) ) 
     208    TRANSFER_TOKEN_ACCEPT( transaction_id, message, list_of_singed_blinds) 
    207209     
    208210  Session terminates