Decode a hex-encoded serialized block.
Declared in <core_io.h>
[[nodiscard]]
bool
DecodeHexBlk(
CBlock& block,
std::string const& strHexBlk);
True if the block was decoded successfully.
The return value should not be discarded.
| Name | Description |
|---|---|
| block | Block populated with the decoded data on success. |
| strHexBlk | Hex string holding the serialized block. |