DIP5 - Standardize Sig field names with DIP3

This commit is contained in:
thephez 2018-10-09 09:09:27 -04:00
parent 0d09d80194
commit c3bb33cfa0
No known key found for this signature in database
GPG key ID: BBC8A06DBE236099

View file

@ -75,8 +75,8 @@ The transaction consists of the following data in the payload area:
| userName | string | Username for the account<br> * Cannot be changed by subsequent SubTxs |
| pubkeySize | compactSize uint | Length of the public key |
| pubkey | byte[] | Owners public key for the account<br> * For authentication only - should not be used to hold funds |
| sigSize| compactSize uint | Length of the signature |
| sig | byte[] | Signature of the hash of the preceding fields signed by the blockchain user with the private key for the specified PubKey (65 bytes) |
| payloadSigSize| compactSize uint | Length of the signature |
| payloadSig | byte[] | Signature of the hash of the preceding fields signed by the blockchain user with the private key for the specified PubKey (65 bytes) |
### Topup Blockchain User Credit (SubTxTopup)
@ -115,8 +115,8 @@ The transaction consists of the following data in the payload area:
| creditFee | int64_t | Fee (denominated in duffs) to pay for transaction |
| newPubKeySize | compactSize uint | Length of the new public key |
| newPubKey | byte[] | New public key for a change/reset action |
| lastPubKeySigSize| compactSize uint | Length of the signature |
| lastPubKeySig | byte[] | Signature of most recent pubkey prior to this transaction, signing a change/reset action |
| payloadSigSize| compactSize uint | Length of the signature |
| payloadSig | byte[] | Signature of most recent pubkey prior to this transaction, signing a change/reset action |
### Close Blockchain User Account (SubTxCloseAccount)
@ -132,8 +132,8 @@ The transaction consists of the following data in the payload area:
| regTxHash | uint256 | Registration Transaction-ID of the first Register Subscription Transaction |
| hashPrevSubTx | uint256 | Hash of the users previous subscription transaction. This is necessary to ensure proper order of operations is followed (e.g. make sure the proper key has signed the Close message if a ResetKey message is also present) |
| creditFee | int64_t | Fee (denominated in duffs) to pay for transaction |
| sigSize| compactSize uint | Length of the signature |
| sig | byte[] | Signature from either the current key or a previous key<br>Version 1 - Previous keys are constrained to ones <= ~90 days old (51840 blocks)
| payloadSigSize| compactSize uint | Length of the signature |
| payloadSig | byte[] | Signature from either the current key or a previous key<br>Version 1 - Previous keys are constrained to ones <= ~90 days old (51840 blocks)
#### Important notes regarding closed accounts