Copy the chain parameters.
Declared in <kernel/bitcoinkernel.h>
[[nodiscard, __nonnull__]]
btck_ChainParameters*
btck_chain_parameters_copy(btck_ChainParameters const* chain_parameters);
Opaque data structure for holding the chain parameters.
The return value should not be discarded.
| Name | Description |
|---|---|
| chain_parameters | Opaque data structure for holding the chain parameters. |