From 19c4993976ff515254d9481c6e92067a7afc49e8 Mon Sep 17 00:00:00 2001 From: Nathan Marley Date: Sat, 10 Nov 2018 13:51:29 -0200 Subject: [PATCH] swap vector type with generic list symbols (#27) --- dip-0003.md | 4 ++-- dip-0004.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dip-0003.md b/dip-0003.md index 38b711a..3114826 100644 --- a/dip-0003.md +++ b/dip-0003.md @@ -106,7 +106,7 @@ The transaction consists of the following data in the payload area: | scriptPayout | Script | Variable | Payee script (p2pkh/p2sh) | | inputsHash | uint256 | 32 | Hash of all the outpoints of the transaction inputs | | payloadSigSize | compactSize uint | 1-9 | Size of the Signature | -| payloadSig | vector | Variable | Signature of the hash of the ProTx fields. Signed with the key corresponding to the collateral outpoint in case the collateral is not part of the ProRegTx itself, empty otherwise. | +| payloadSig | unsigned char[] | Variable | Signature of the hash of the ProTx fields. Signed with the key corresponding to the collateral outpoint in case the collateral is not part of the ProRegTx itself, empty otherwise. | ## Updating Masternode Information @@ -162,7 +162,7 @@ The transaction consists of the following data in the payload area: | scriptPayout | Script | Variable | Payee script (p2pkh/p2sh) | | inputsHash | uint256 | 32 | Hash of all the outpoints of the transaction inputs | | payloadSigSize | compactSize uint | 1-9 | Size of the Signature | -| payloadSig | vector | Variable | Signature of the hash of the ProTx fields. Signed by the Owner. | +| payloadSig | unsigned char[] | Variable | Signature of the hash of the ProTx fields. Signed by the Owner. | ### Operator Self Revoking Transaction (ProUpRevTx) diff --git a/dip-0004.md b/dip-0004.md index 52c88fa..c38e902 100644 --- a/dip-0004.md +++ b/dip-0004.md @@ -108,12 +108,12 @@ The `MNLISTDIFF` message contains a serialized object with the following structu | blockHash | uint256 | 32 | Hash of the block for which the masternode list diff is returned | | totalTransactions | uint32_t | 4 | Number of total transactions in blockHash | | merkleHashesCount | compactSize uint | 1-9 | Number of Merkle hashes | -| merkleHashes | vector | variable | Merkle hashes in depth-first order | +| merkleHashes | uint256[] | variable | Merkle hashes in depth-first order | | merkleFlagsCount | compactSize uint | 1-9 | Number of Merkle flag bytes | -| merkleFlags | vector | variable | Merkle flag bits, packed per 8 in a byte, least significant bit first | +| merkleFlags | uint8_t[] | variable | Merkle flag bits, packed per 8 in a byte, least significant bit first | | cbTx | CTransaction | variable | The fully serialized coinbase transaction of blockHash | -| deletedMNs | vector | variable | A list of ProRegTx hashes for masternode which were deleted after baseBlockHash | -| mnList | vector | variable | The list of SML entries which were added or updated since baseBlockHash | +| deletedMNs | uint256[] | variable | A list of ProRegTx hashes for masternode which were deleted after baseBlockHash | +| mnList | SMLEntry[] | variable | The list of SML entries which were added or updated since baseBlockHash | ## Tracking/Updating and verifying masternode lists based on MNLISTDIFF