[#btck_block_copy] = btck_block_copy :mrdocs: Copy a block. Blocks are reference counted, so this just increments the reference count. == Synopsis Declared in `<kernel/bitcoinkernel.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard, __nonnull__]] xref:btck_Block-04.adoc[btck_Block]* btck_block_copy(xref:btck_Block-04.adoc[btck_Block] const* block); ---- == Return Value The copied block. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *block* [in] | Non‐null. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#