CBlockHeaderAndShortTxIDs::CBlockHeaderAndShortTxIDs

Constructors

Synopses

Declared in <blockencodings.h>

Dummy for deserialization

constexpr
CBlockHeaderAndShortTxIDs() = default;
» more...

Builds the compact representation of a block.

CBlockHeaderAndShortTxIDs(
    CBlock const& block,
    uint64_t nonce);
» more...

Parameters

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