Changeset 29 for trunk/standards

Show
Ignore:
Timestamp:
12/21/07 21:10:44 (4 years ago)
Author:
ocmathew
Message:

Add Bob checking that the funds are sufficient
In the messages, BLANK_REJECT and BLANK_FAILURE were accidently swapped

Location:
trunk/standards
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/standards/messages/all.txt

    r28 r29  
    4343 
    4444B: 
    45   BLANK_FAILURE #hex_string(number_of_failures) 
     45  BLANK_REJECT #hex_string(number_of_failures) 
    4646                #base64(encrypted serial of blank1) "Reason1" 
    4747                #base64(encrypted serial of blank2) "Reason2" 
     
    5050                        Unknown issuer 
    5151                            Note: Also used for an untrusted issuer 
     52                        Insufficient currency 
    5253        Prior:  BLANK_PRESENT 
    5354        Follow: Goodbye 
    5455                         
    55   BLANK_FAILURE #hex_string(0) "reason" 
     56  BLANK_REJECT #hex_string(0) "reason" 
    5657                    Reason: 
    5758                        Cancelled 
     
    6061                         
    6162 
    62   BLANK_REJECT  #hex_string(number_of_failures) 
     63  BLANK_FAILURE  #hex_string(number_of_failures) 
    6364                #base64(encrypted serial of blank1) "Reason1" 
    6465                #base64(encrypted serial of blank2) "Reason2" 
     
    7273        Follow: Goodbye 
    7374 
    74   BLANK_REJECT  #hex_string(0) "reason" 
     75  BLANK_FAILURE  #hex_string(0) "reason" 
    7576                    Reasons: 
    7677                        Cancelled 
     
    120121        Prior:  COINS_REDEEM 
    121122        Follow: Goodbye 
     123 
    122124 
    123125 
  • trunk/standards/messages/wallet.to.wallet.txt

    r28 r29  
    2121 
    2222B: 
    23   BLANK_FAILURE #hex_string(number_of_failures) 
     23  BLANK_REJECT #hex_string(number_of_failures) 
    2424                #base64(encrypted serial of blank1) "Reason1" 
    2525                #base64(encrypted serial of blank2) "Reason2" 
     
    2828                        Unknown issuer 
    2929                            Note: Also used for an untrusted issuer 
     30                        Insufficient currency 
    3031        Prior:  BLANK_PRESENT 
    3132        Follow: Goodbye 
    3233                         
    33   BLANK_FAILURE #hex_string(0) "reason" 
     34  BLANK_REJECT #hex_string(0) "reason" 
    3435                    Reason: 
    3536                        Cancelled 
     
    3839                         
    3940 
    40   BLANK_REJECT  #hex_string(number_of_failures) 
     41  BLANK_FAILURE  #hex_string(number_of_failures) 
    4142                #base64(encrypted serial of blank1) "Reason1" 
    4243                #base64(encrypted serial of blank2) "Reason2" 
     
    5051        Follow: Goodbye 
    5152 
    52   BLANK_REJECT  #hex_string(0) "reason" 
     53  BLANK_FAILURE  #hex_string(0) "reason" 
    5354                    Reasons: 
    5455                        Cancelled 
  • trunk/standards/protocol.txt

    r28 r29  
    205205 
    206206  * Bob decides whether to  
    207     - accept transfer 
     207    - accept transfer (trust issuer, enough currency) 
    208208    - accept transfer without double spending checking 
    209209    - decline transfer