btck_coin_copy

Copy a coin.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_Coin*
btck_coin_copy(btck_Coin const* coin);

Return Value

The copied coin.

NOTE

The return value should not be discarded.

Parameters

NameDescription
coin [in]Non-null.