Decode a hex‐encoded serialized block.

Synopsis

Declared in <core_io.h>

[[nodiscard]]
bool
DecodeHexBlk(
    CBlock& block,
    std::string const& strHexBlk);

Return Value

True if the block was decoded successfully.

Note

The return value should not be discarded.

Parameters

Name

Description

block

Block populated with the decoded data on success.

strHexBlk

Hex string holding the serialized block.

Created with MrDocs