Creates and returns a std::unique_ptr<CChainParams> of the chosen chain.

Synopsis

Declared in <chainparams.h>

std::unique_ptr<CChainParams const>
CreateChainParams(
    ArgsManager const& args,
    ChainType chain);

Return Value

The consensus and network parameters for the chosen chain.

Parameters

Name

Description

args

The active argument manager, used to apply chain overrides.

chain

The chain type to build parameters for.

Created with MrDocs