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

Name

Description

chain_parameters

Opaque data structure for holding the chain parameters.

Created with MrDocs