Decode a hex-encoded serialized block header.
Declared in <core_io.h>
bool
DecodeHexBlockHeader(
CBlockHeader& header,
std::string const& hex_header);
True if the header was decoded successfully.
| Name | Description |
|---|---|
| header | Block header populated with the decoded data on success. |
| hex_header | Hex string holding the serialized block header. |