mirror of
https://github.com/seigler/dips
synced 2025-07-27 01:36:14 +00:00
Merge pull request #19 from dashpay/DIP5_SigFieldName
DIP5 - Standardize Sig field names with DIP3
This commit is contained in:
commit
da784d71c7
1 changed files with 6 additions and 6 deletions
12
dip-0005.md
12
dip-0005.md
|
@ -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[] | Owner’s 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 user’s 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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue