swap vector type with generic list symbols (#27)

This commit is contained in:
Nathan Marley 2018-11-10 13:51:29 -02:00 committed by GitHub
parent 52aee60048
commit 19c4993976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -106,7 +106,7 @@ The transaction consists of the following data in the payload area:
| scriptPayout | Script | Variable | Payee script (p2pkh/p2sh) | | scriptPayout | Script | Variable | Payee script (p2pkh/p2sh) |
| inputsHash | uint256 | 32 | Hash of all the outpoints of the transaction inputs | | inputsHash | uint256 | 32 | Hash of all the outpoints of the transaction inputs |
| payloadSigSize | compactSize uint | 1-9 | Size of the Signature | | payloadSigSize | compactSize uint | 1-9 | Size of the Signature |
| payloadSig | vector<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. | | 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 ## 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) | | scriptPayout | Script | Variable | Payee script (p2pkh/p2sh) |
| inputsHash | uint256 | 32 | Hash of all the outpoints of the transaction inputs | | inputsHash | uint256 | 32 | Hash of all the outpoints of the transaction inputs |
| payloadSigSize | compactSize uint | 1-9 | Size of the Signature | | payloadSigSize | compactSize uint | 1-9 | Size of the Signature |
| payloadSig | vector<unsigned char> | 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) ### Operator Self Revoking Transaction (ProUpRevTx)

View file

@ -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 | | 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 | | totalTransactions | uint32_t | 4 | Number of total transactions in blockHash |
| merkleHashesCount | compactSize uint | 1-9 | Number of Merkle hashes | | merkleHashesCount | compactSize uint | 1-9 | Number of Merkle hashes |
| merkleHashes | vector<uint256> | 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 | | merkleFlagsCount | compactSize uint | 1-9 | Number of Merkle flag bytes |
| merkleFlags | vector<uint8_t> | 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 | | cbTx | CTransaction | variable | The fully serialized coinbase transaction of blockHash |
| deletedMNs | vector<uint256> | variable | A list of ProRegTx hashes for masternode which were deleted after baseBlockHash | | deletedMNs | uint256[] | variable | A list of ProRegTx hashes for masternode which were deleted after baseBlockHash |
| mnList | vector<SMLEntry> | variable | The list of SML entries which were added or updated since 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 ## Tracking/Updating and verifying masternode lists based on MNLISTDIFF