Add mention of merkleHashCount and merkleFlagsCount to the DIP4's simplified masternode list diff (#26)

This commit is contained in:
Anton Suprunchuk 2018-10-26 21:17:14 +01:00 committed by thephez
parent da7f9a83c3
commit b1b56aaefd

View file

@ -107,7 +107,9 @@ The `MNLISTDIFF` message contains a serialized object with the following structu
| baseBlockHash | uint256 | 32 | Hash of the block on which this diff is based on | | baseBlockHash | uint256 | 32 | Hash of the block on which this diff is based on |
| 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 |
| merkleHashes | vector<uint256> | variable | Merkle hashes in depth-first order | | merkleHashes | vector<uint256> | variable | Merkle hashes in depth-first order |
| 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 | vector<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 | vector<uint256> | variable | A list of ProRegTx hashes for masternode which were deleted after baseBlockHash |