Constructors

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Constructs parameters for a well‐known chain type.

explicit
ChainParams(ChainType chain_type);

Constructs signet parameters from a custom challenge script.

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

Parameters

Name

Description

chain_type

The network to build parameters for.

signet_challenge

The signet challenge script bytes.

Created with MrDocs