Changeset 168 for trunk/standards

Show
Ignore:
Timestamp:
03/04/08 20:13:12 (4 years ago)
Author:
ocmathew
Message:

Modify containers. All hard-coded values for signatures/hashes had to be changed.
Changes to CDDs: Changed standard_version to standard_identifier, added options
Changes to MintKeys?: Changed coin_not_after to token_not_after
Changes to CDDs, MintKeys?, Coins: Changed denomination to a string
Updated protocol.txt to remove some DSDB_key stuff
Updated protocol-containers.txt to reflect changed containers

Location:
trunk/standards
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/standards/protocol-containers.txt

    r123 r168  
    3636Currency Description Document (CCD) = 
    3737{ 
    38     standard version            = http://opencoin.org/OpenCoinProtocol/1.0 
     38    standard identifier         = http://opencoin.org/OpenCoinProtocol/1.0 
    3939    currency identifier         = http://opencent.net/OpenCent 
    4040    short currency identifier   = OC  
    4141    issuer service location     = opencoin://issuer.opencent.net:8002 
    42     denominations               = 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000  #list of strings seperated by commas 
     42    denominations               = ['1', '2', '5', ...] #list of strings 
    4343    issuer cipher suite         = HASH-ALG, SIGN-ALG, BLINDING-ALG 
     44    options                     = list(options) | list() 
    4445    issuer public master key    = base64(pM) 
    4546 
     
    5657    not_before          = TIME(...) 
    5758    key_not_after       = TIME(...) 
    58     coin_not_after      = TIME(...) 
     59    token_not_after     = TIME(...) 
    5960    public key          = base64(pP) 
    6061 
  • trunk/standards/protocol.txt

    r144 r168  
    2929   - "Introduction" 
    3030   - replace "COIN_SPEND" with "TRANSFER_TOKEN" 
    31    - decide whether the protocol atoms are tokens or lists of tokens 
    3231   - throw out reduntant "TRANSFER_TOKEN" explanatoins 
    3332   - add authentication and authorization, at least for "target" 
    34      when mintig 
     33     when minting 
    3534   - add mandatory trusted channel (Bluetooth, TLS) 
    3635 
     
    107106   
    108107  Questions: 
    109   * CDD? (What does this question mean?) 
    110  
    111 * issuer creates DSDB keypair (pD,sD) 
    112  
    113   { 
    114     key identifier   = base64(hash(pD)) 
    115     not_before       = TIME(...) 
    116     not_after        = TIME(...) 
    117     cipher           = ENCRYPTION-ALG 
    118     public key       = base64(pD) 
    119  
    120     issuer           = base64(hash(pM)) 
    121     signature        = base64(sig(sM, hash(content part))) 
    122  
    123     signer           = base64(hash(pM)) 
    124     signature        = base64(sig(sM, hash(content part))) 
    125   }    
    126  
     108  * CDD? 
    127109 
    128110* issuer fires up issuer service (=IS) at <opencoin://issuer.opencent.net:8002> 
     
    163145   
    164146 
    165 3.3.5 "TRANSFER_TOKEN": A generic wallet-issuer request 
     147t 3.3.5 "TRANSFER_TOKEN": A generic wallet-issuer request 
    166148 
    167149The atom for this transaction is a list of tokens - if one of the tokens /blanks 
     
    199181  If the request is accepted with no delay, IS answers 
    200182 
    201     TRANSFER_TOKEN_ACCEPT( transaction_id, message, list_of_singed_blinds) 
     183    TRANSFER_TOKEN_ACCEPT( transaction_id, message, list_of_signed_blinds) 
    202184 
    203185  (with list_of_singed_blinds empty if no minting was required) 
     
    308290    A:      COIN_SPEND( transaction_id, list(token1, ...) ) 
    309291 
     292* The atom for a COIN_SPEND is the entire list of tokens 
    310293 
    311294* Wallet Bob checks if the sum of their values matches the announced sum, if