[#CBlockHeaderAndShortTxIDs] = CBlockHeaderAndShortTxIDs :mrdocs: A cmpctblock message: a block header with short transaction IDs for compact relay. == Synopsis Declared in `<blockencodings.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CBlockHeaderAndShortTxIDs; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:CBlockHeaderAndShortTxIDs/2constructor-0d.adoc[`CBlockHeaderAndShortTxIDs`] [.small]#[constructor]# | Constructors | xref:CBlockHeaderAndShortTxIDs/BlockTxCount.adoc[`BlockTxCount`] | Returns the total number of transactions in the block. | xref:CBlockHeaderAndShortTxIDs/GetShortID.adoc[`GetShortID`] | Computes the short ID for a transaction from its witness hash. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:CBlockHeaderAndShortTxIDs/header.adoc[`header`] | The block header. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:CBlockHeaderAndShortTxIDs/SHORTTXIDS_LENGTH.adoc[`SHORTTXIDS_LENGTH`] | Number of bytes used for each short transaction ID. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:CBlockHeaderAndShortTxIDs/prefilledtxn.adoc[`prefilledtxn`] | Transactions sent in full inline, with their positions. | xref:CBlockHeaderAndShortTxIDs/shorttxids.adoc[`shorttxids`] | Short (truncated) IDs of the block's transactions not sent in full. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:PartiallyDownloadedBlock.adoc[PartiallyDownloadedBlock]` | A block being reconstructed from a compact block plus mempool/extra transactions. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#