Sets the chain params for the context options. The context created with the options will be configured for these chain parameters.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
void
btck_context_options_set_chainparams(
btck_ContextOptions* context_options,
btck_ChainParameters const* chain_parameters);
| Name | Description |
|---|---|
| context_options [in] | Non-null, previously created by btck_context_options_create. |
| chain_parameters [in] | Is set to the context options. |