CBlockHeaderAndShortTxIDs::CBlockHeaderAndShortTxIDs

Builds the compact representation of a block.

Synopsis

Declared in <blockencodings.h>

CBlockHeaderAndShortTxIDs(
    CBlock const& block,
    uint64_t nonce);

Parameters

NameDescription
block [in]The block to encode.
nonce [in]This should be randomly generated, and is used for the siphash secret key