[#CBlockHeaderAndShortTxIDs-2constructor-07] = xref:CBlockHeaderAndShortTxIDs.adoc[CBlockHeaderAndShortTxIDs]::CBlockHeaderAndShortTxIDs :relfileprefix: ../ :mrdocs: Builds the compact representation of a block. == Synopsis Declared in `<blockencodings.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CBlockHeaderAndShortTxIDs( xref:CBlock.adoc[CBlock] const& block, uint64_t nonce); ---- == Parameters [cols="1,4"] |=== | Name| Description | *block* [in] | The block to encode. | *nonce* [in] | This should be randomly generated, and is used for the siphash secret key |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#