Copy a block. Blocks are reference counted, so this just increments the reference count.
Synopsis
Declared in <kernel/bitcoinkernel.h>
[[nodiscard, __nonnull__]]
btck_Block*
btck_block_copy(btck_Block const* block);
Return Value
The copied block.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
block [in] |
Non‐null. |
Created with MrDocs