btck::ChainParams::ChainParams

Constructors

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Constructs parameters for a well-known chain type.

explicit
ChainParams(ChainType chain_type);
» more...

Constructs signet parameters from a custom challenge script.

explicit
ChainParams(std::span<std::byte const> signet_challenge);
» more...

Parameters

NameDescription
chain_typeThe network to build parameters for.
signet_challengeThe signet challenge script bytes.