A cmpctblock message: a block header with short transaction IDs for compact relay.
Declared in <blockencodings.h>
class CBlockHeaderAndShortTxIDs;
| Name | Description |
|---|---|
CBlockHeaderAndShortTxIDs [constructor] | Constructors |
BlockTxCount | Returns the total number of transactions in the block. |
GetShortID | Computes the short ID for a transaction from its witness hash. |
| Name | Description |
|---|---|
header | The block header. |
| Name | Description |
|---|---|
SHORTTXIDS_LENGTH | Number of bytes used for each short transaction ID. |
| Name | Description |
|---|---|
prefilledtxn | Transactions sent in full inline, with their positions. |
shorttxids | Short (truncated) IDs of the block's transactions not sent in full. |
| Name | Description |
|---|---|
PartiallyDownloadedBlock | A block being reconstructed from a compact block plus mempool/extra transactions. |