Changeset 149 for trunk/standards

Show
Ignore:
Timestamp:
02/29/08 19:06:01 (4 years ago)
Author:
ocnils
Message:

Updated protocol for IS<->Wallet transactions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/standards/messages/IS.to.wallet.txt

    r148 r149  
    1212 
    1313Wallet: 
    14   MINT_KEY_FETCH_DENOMINATION    list(denomination, ...) #TIME(time) 
     14  MINT_KEY_FETCH_DENOMINATION    list(denomination, ...) TIME(time)|0 
    1515    Prior:  Hello 
    1616    Follow: MINT_KEY_PASS 
     
    3131                    Reasons: 
    3232                        Unknown denomination 
    33                         Unknown key_id 
     33                        Unknown key_identifier 
     34                        Revoked key_identifier 
    3435    Prior:  MINT_KEY_FETCH_DENOMINATION 
    3536            MINT_KEY_FETCH_KEYID 
     
    4445  TRANSFER_TOKEN_REQUEST    #base64(transaction_id) 
    4546                            target 
    46                             list(i-don't-remember-what-this-could-be-for,...) 
    4747                            list((#base64(key_identifier), list(blind,...)),...) 
    48                             list(coin,...) 
     48                            list(token,...) 
    4949                            list(('type', type), (option, value),...) 
    5050                            Types: 
    51                                 'Redeem' 
    52                                 'Exchange' (What does this one infer?) 
     51                                'redeem' 
     52                                'exchange' 
     53                                'mint' 
    5354    Prior:  Hello 
    5455    Follow: TRANSFER_TOKEN_REJECT 
     
    6667                        type 
    6768                        reason 
    68                         list(reason-detail, reason-detail) 
     69                        list(reason-detail)|list() 
    6970                        Types: 
    7071                            'Generic' 
    7172                            'Option' 
     73                            'Target' 
     74                            'Token' 
    7275                            'Blind' 
    73                             'Token' 
    7476                        Reasons: 
    7577                            Generic: 
     
    8284                                    'None' 
    8385                                    All options of Reason, except 'See detail' 
    84                             Blind: 
     86                            Target: 
    8587                                'Rejected' 
    86                                 'Unknown key_identifier' 
    87                                 'Key too soon' 
    88                                 'Key expired' 
    89                                 'Unable to blind' 
     88                                'IS-Reject' + Issuer specific rejection string 
     89                            Token: 
     90                                'Rejected' 
     91                                'Invalid key_identifier' 
     92                                'Revoked key' 
     93                                'Invalid token' 
    9094                                'See detail': 
    9195                                    'None' 
    9296                                    All options of Reason, except 'See detail' 
    93                             Token: 
     97                            Blind: 
    9498                                'Rejected' 
    95                                 'Unknown key_identifier' 
    96                                 'Key rejected' (we made the key invalid. ugh. what's the word?) 
    97                                 'Improper token' 
     99                                'Invalid key_identifier' 
     100                                'Key too soon' 
     101                                'Key expired' 
     102                                'Revoked key' 
     103                                'Unable to sign' 
    98104                                'See detail': 
    99105                                    'None'