Sets the chain params for the context options. The context created with the options will be configured for these chain parameters.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
void
btck_context_options_set_chainparams(
    btck_ContextOptions* context_options,
    btck_ChainParameters const* chain_parameters);

Parameters

Name

Description

context_options [in]

Non‐null, previously created by btck_context_options_create.

chain_parameters [in]

Is set to the context options.

Created with MrDocs