Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | public: | ||||
const CMessageHeader::MessageMagic &NetMagic() const { return netMagic; } | const CMessageHeader::MessageMagic &NetMagic() const { return netMagic; } | ||||
int GetDefaultPort() const { return nDefaultPort; } | int GetDefaultPort() const { return nDefaultPort; } | ||||
const CBlock &GenesisBlock() const { return genesis; } | const CBlock &GenesisBlock() const { return genesis; } | ||||
/** Default value for -checkmempool and -checkblockindex argument */ | /** Default value for -checkmempool and -checkblockindex argument */ | ||||
bool DefaultConsistencyChecks() const { return fDefaultConsistencyChecks; } | bool DefaultConsistencyChecks() const { return fDefaultConsistencyChecks; } | ||||
/** Policy: Filter transactions that do not match well-defined patterns */ | /** Policy: Filter transactions that do not match well-defined patterns */ | ||||
bool RequireStandard() const { return fRequireStandard; } | bool RequireStandard() const { return fRequireStandard; } | ||||
/** If this is a test chain */ | /** If this chain is exclusively used for testing */ | ||||
bool IsTestChain() const { return m_is_test_chain; } | bool IsTestChain() const { return m_is_test_chain; } | ||||
/** If this chain allows time to be mocked */ | /** If this chain allows time to be mocked */ | ||||
bool IsMockableChain() const { return m_is_mockable_chain; } | bool IsMockableChain() const { return m_is_mockable_chain; } | ||||
uint64_t PruneAfterHeight() const { return nPruneAfterHeight; } | uint64_t PruneAfterHeight() const { return nPruneAfterHeight; } | ||||
/** Minimum free space (in GB) needed for data directory */ | /** Minimum free space (in GB) needed for data directory */ | ||||
uint64_t AssumedBlockchainSize() const { return m_assumed_blockchain_size; } | uint64_t AssumedBlockchainSize() const { return m_assumed_blockchain_size; } | ||||
/** | /** | ||||
* Minimum free space (in GB) needed for data directory when pruned; Does | * Minimum free space (in GB) needed for data directory when pruned; Does | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |