btck_chain_parameters_copy

Copy the chain parameters.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_ChainParameters*
btck_chain_parameters_copy(btck_ChainParameters const* chain_parameters);

Return Value

Opaque data structure for holding the chain parameters.

NOTE

The return value should not be discarded.

Parameters

NameDescription
chain_parametersOpaque data structure for holding the chain parameters.