[#btck_chain_parameters_get_consensus_params] = btck_chain_parameters_get_consensus_params :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[__nonnull__]] xref:btck_ConsensusParams-08.adoc[btck_ConsensusParams] const* btck_chain_parameters_get_consensus_params(xref:btck_ChainParameters-0f.adoc[btck_ChainParameters] const* chain_parameters); ---- == Return Value The btck_ConsensusParams. == Parameters [cols="1,4"] |=== | Name| Description | *chain_parameters* [in] | Non‐null. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#