From c3bb33cfa0be40b052ac2c0561fe7816b68c609e Mon Sep 17 00:00:00 2001 From: thephez Date: Tue, 9 Oct 2018 09:09:27 -0400 Subject: [PATCH] DIP5 - Standardize Sig field names with DIP3 --- dip-0005.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dip-0005.md b/dip-0005.md index 5499465..d58ba5d 100644 --- a/dip-0005.md +++ b/dip-0005.md @@ -75,8 +75,8 @@ The transaction consists of the following data in the payload area: | userName | string | Username for the account
* Cannot be changed by subsequent SubTxs | | pubkeySize | compactSize uint | Length of the public key | | pubkey | byte[] | Owner’s public key for the account
* 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
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
Version 1 - Previous keys are constrained to ones <= ~90 days old (51840 blocks) #### Important notes regarding closed accounts