![]() |
Bitcoin Core
22.99.0
P2P Digital Currency
|
Regression test: intended for private networks only. More...
Public Member Functions | |
CRegTestParams (const ArgsManager &args) | |
void | UpdateVersionBitsParameters (Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout, int min_activation_height) |
Allows modifying the Version Bits regtest parameters. More... | |
void | UpdateActivationParametersFromArgs (const ArgsManager &args) |
![]() | |
const Consensus::Params & | GetConsensus () const |
const CMessageHeader::MessageStartChars & | MessageStart () const |
uint16_t | GetDefaultPort () const |
uint16_t | GetDefaultPort (Network net) const |
uint16_t | GetDefaultPort (const std::string &addr) const |
const CBlock & | GenesisBlock () const |
bool | DefaultConsistencyChecks () const |
Default value for -checkmempool and -checkblockindex argument. More... | |
bool | RequireStandard () const |
Policy: Filter transactions that do not match well-defined patterns. More... | |
bool | IsTestChain () const |
If this chain is exclusively used for testing. More... | |
bool | IsMockableChain () const |
If this chain allows time to be mocked. More... | |
uint64_t | PruneAfterHeight () const |
uint64_t | AssumedBlockchainSize () const |
Minimum free space (in GB) needed for data directory. More... | |
uint64_t | AssumedChainStateSize () const |
Minimum free space (in GB) needed for data directory when pruned; Does not include prune target. More... | |
bool | MineBlocksOnDemand () const |
Whether it is possible to mine blocks on demand (no retargeting) More... | |
std::string | NetworkIDString () const |
Return the network string. More... | |
const std::vector< std::string > & | DNSSeeds () const |
Return the list of hostnames to look up for DNS seeds. More... | |
const std::vector< unsigned char > & | Base58Prefix (Base58Type type) const |
const std::string & | Bech32HRP () const |
const std::vector< uint8_t > & | FixedSeeds () const |
const CCheckpointData & | Checkpoints () const |
const MapAssumeutxo & | Assumeutxo () const |
Get allowed assumeutxo configuration. More... | |
const ChainTxData & | TxData () const |
Additional Inherited Members | |
![]() | |
enum | Base58Type { PUBKEY_ADDRESS, SCRIPT_ADDRESS, SECRET_KEY, EXT_PUBLIC_KEY, EXT_SECRET_KEY, MAX_BASE58_TYPES } |
![]() | |
CChainParams () | |
![]() | |
Consensus::Params | consensus |
CMessageHeader::MessageStartChars | pchMessageStart |
uint16_t | nDefaultPort |
uint64_t | nPruneAfterHeight |
uint64_t | m_assumed_blockchain_size |
uint64_t | m_assumed_chain_state_size |
std::vector< std::string > | vSeeds |
std::vector< unsigned char > | base58Prefixes [MAX_BASE58_TYPES] |
std::string | bech32_hrp |
std::string | strNetworkID |
CBlock | genesis |
std::vector< uint8_t > | vFixedSeeds |
bool | fDefaultConsistencyChecks |
bool | fRequireStandard |
bool | m_is_test_chain |
bool | m_is_mockable_chain |
CCheckpointData | checkpointData |
MapAssumeutxo | m_assumeutxo_data |
ChainTxData | chainTxData |
Regression test: intended for private networks only.
Has minimal difficulty to ensure that blocks can be found instantly.
Definition at line 387 of file chainparams.cpp.
|
inlineexplicit |
< Regtest mode doesn't have any fixed seeds.
Definition at line 389 of file chainparams.cpp.
void CRegTestParams::UpdateActivationParametersFromArgs | ( | const ArgsManager & | args | ) |
Definition at line 521 of file chainparams.cpp.
|
inline |
Allows modifying the Version Bits regtest parameters.
Definition at line 483 of file chainparams.cpp.