Get btck_ConsensusParams from btck_ChainParameters. The returned btck_ConsensusParams pointer is valid only for the lifetime of the btck_ChainParameters object and must not be destroyed by the caller.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
btck_ConsensusParams const*
btck_chain_parameters_get_consensus_params(btck_ChainParameters const* chain_parameters);

Return Value

The btck_ConsensusParams.

Parameters

Name

Description

chain_parameters [in]

Non‐null.

Created with MrDocs