A cmpctblock message: a block header with short transaction IDs for compact relay.
Synopsis
Declared in <blockencodings.h>
class CBlockHeaderAndShortTxIDs;
Member Functions
Name |
Description |
|
Constructors |
Returns the total number of transactions in the block. |
|
Computes the short ID for a transaction from its witness hash. |
Data Members
Name |
Description |
The block header. |
Static Data Members
Name |
Description |
Number of bytes used for each short transaction ID. |
Protected Data Members
Name |
Description |
Transactions sent in full inline, with their positions. |
|
Short (truncated) IDs of the block's transactions not sent in full. |
Friends
Name |
Description |
A block being reconstructed from a compact block plus mempool/extra transactions. |
Created with MrDocs