Decode a hex‐encoded serialized block header.

Synopsis

Declared in <core_io.h>

bool
DecodeHexBlockHeader(
    CBlockHeader& header,
    std::string const& hex_header);

Return Value

True if the header was decoded successfully.

Parameters

Name

Description

header

Block header populated with the decoded data on success.

hex_header

Hex string holding the serialized block header.

Created with MrDocs