Changeset 168 for trunk/standards
- Timestamp:
- 03/04/08 20:13:12 (4 years ago)
- Location:
- trunk/standards
- Files:
-
- 2 modified
-
protocol-containers.txt (modified) (2 diffs)
-
protocol.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/standards/protocol-containers.txt
r123 r168 36 36 Currency Description Document (CCD) = 37 37 { 38 standard version= http://opencoin.org/OpenCoinProtocol/1.038 standard identifier = http://opencoin.org/OpenCoinProtocol/1.0 39 39 currency identifier = http://opencent.net/OpenCent 40 40 short currency identifier = OC 41 41 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 commas42 denominations = ['1', '2', '5', ...] #list of strings 43 43 issuer cipher suite = HASH-ALG, SIGN-ALG, BLINDING-ALG 44 options = list(options) | list() 44 45 issuer public master key = base64(pM) 45 46 … … 56 57 not_before = TIME(...) 57 58 key_not_after = TIME(...) 58 coin_not_after= TIME(...)59 token_not_after = TIME(...) 59 60 public key = base64(pP) 60 61 -
trunk/standards/protocol.txt
r144 r168 29 29 - "Introduction" 30 30 - replace "COIN_SPEND" with "TRANSFER_TOKEN" 31 - decide whether the protocol atoms are tokens or lists of tokens32 31 - throw out reduntant "TRANSFER_TOKEN" explanatoins 33 32 - add authentication and authorization, at least for "target" 34 when minti g33 when minting 35 34 - add mandatory trusted channel (Bluetooth, TLS) 36 35 … … 107 106 108 107 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? 127 109 128 110 * issuer fires up issuer service (=IS) at <opencoin://issuer.opencent.net:8002> … … 163 145 164 146 165 3.3.5 "TRANSFER_TOKEN": A generic wallet-issuer request147 t 3.3.5 "TRANSFER_TOKEN": A generic wallet-issuer request 166 148 167 149 The atom for this transaction is a list of tokens - if one of the tokens /blanks … … 199 181 If the request is accepted with no delay, IS answers 200 182 201 TRANSFER_TOKEN_ACCEPT( transaction_id, message, list_of_si nged_blinds)183 TRANSFER_TOKEN_ACCEPT( transaction_id, message, list_of_signed_blinds) 202 184 203 185 (with list_of_singed_blinds empty if no minting was required) … … 308 290 A: COIN_SPEND( transaction_id, list(token1, ...) ) 309 291 292 * The atom for a COIN_SPEND is the entire list of tokens 310 293 311 294 * Wallet Bob checks if the sum of their values matches the announced sum, if
