Parse a serialized raw block into a new block object.
Synopsis
Declared in <kernel/bitcoinkernel.h>
[[nodiscard]]
btck_Block*
btck_block_create(
void const* raw_block,
size_t raw_block_len);
Return Value
The allocated block, or null on error.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
raw_block [in] |
Serialized block. |
raw_block_len [in] |
Length of the serialized block. |
Created with MrDocs