MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsTestChain

Method IsTestChain

src/kernel/chainparams.h:98–98  ·  view source on GitHub ↗

If this chain is exclusively used for testing */

Source from the content-addressed store, hash-verified

96 bool DefaultConsistencyChecks() const { return fDefaultConsistencyChecks; }
97 /** If this chain is exclusively used for testing */
98 bool IsTestChain() const { return m_chain_type != ChainType::MAIN; }
99 /** If this chain allows time to be mocked */
100 bool IsMockableChain() const { return m_is_mockable_chain; }
101 uint64_t PruneAfterHeight() const { return nPruneAfterHeight; }

Callers 4

GenerateWalletDescriptorFunction · 0.80
ApplyArgsManOptionsFunction · 0.80
isTestChainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected