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