Changeset 74 for trunk/standards
- Timestamp:
- 02/01/08 00:50:49 (4 years ago)
- Files:
-
- 1 modified
-
trunk/standards/protocol.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/standards/protocol.txt
r73 r74 151 151 #4 wallet send minting request to issuer 152 152 153 * Send 154 155 MINT_REQUEST(request_id, list( (blind1.key_id, blind1), ... ) ) 153 * Send (was: MINT_REQUEST) 154 155 TRANSFER_TOKEN_REQUEST( transaction_id, list_of_options, target, \ 156 list_of_blinds, (empty list) ) 156 157 157 158 to issuer service 158 159 159 * Issuer: if key_id is not current: 160 161 MINT_REJECT( list( (blind1.key_id, "Bad Key ID"), ... ) ) 162 163 Elif request will not be minted (e.g., payment not yet received): 164 165 MINT_REJECT( list( (blind1.key_id, "Reason1"), ... ) ) 166 167 Else: IS passes (maybe asynchronous) request to mint and: 168 MINT_ACCEPT(request_id) 160 * Issuer: if request will not be minted (e.g., "Bad Key ID" if the key_id 161 is not current): 162 163 TRANSFER_TOKEN_REJECT( transaction_id, reason, 164 list( (blind1.key_id, reason1), ... ), \ 165 (empty list1) ) 166 167 ElseIf minting is done just-in-time, IS answers 168 169 TRANSFER_TOKEN_ACCEPT( transaction_id, message, list_of_singed_blinds) 170 171 Else IS queues blind to the mint and tells wallet to wait 172 173 TRANSFER_TOKEN_DELAY( transaction_id, message ) 169 174 170 175 Session is terminated. 171 176 172 177 173 174 Mint processes request (signs blind with key_id) 175 176 Mint passes "signed blind"="blind coin" back to IS 178 In case of delayed minting, mint processes request (signs blind with key_id) 179 some time later and passes "signed blind"="blind coin" back to IS 177 180 178 181
