btck_txid_copy

Copy a txid.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_Txid*
btck_txid_copy(btck_Txid const* txid);

Return Value

The copied txid.

NOTE

The return value should not be discarded.

Parameters

NameDescription
txid [in]Non-null.