CChainParams::Main

Main overloads

Synopses

Declared in <kernel/chainparams.h>

Creates the mainnet chain parameters with default options.

static
std::unique_ptr<CChainParams const>
Main();
» more...

Creates the mainnet chain parameters with the given options.

static
std::unique_ptr<CChainParams const>
Main(MainNetOptions const& options);
» more...

Return Value

Owning pointer to the mainnet chain parameters.

Parameters

NameDescription
optionsThe mainnet configuration to apply.