Skip to main content

btck_context_options_set_chainparams

Function btck_context_options_set_chainparams 

Source
pub unsafe extern "C" fn btck_context_options_set_chainparams(
    context_options: *mut btck_ContextOptions,
    chain_parameters: *const btck_ChainParameters,
)
Expand description

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

@param[in] context_options Non-null, previously created by @ref btck_context_options_create. @param[in] chain_parameters Is set to the context options.