|
|
|
@ -66,7 +66,7 @@ public:
|
|
|
|
|
bool DefaultConsistencyChecks() const { return fDefaultConsistencyChecks; }
|
|
|
|
|
/** Policy: Filter transactions that do not match well-defined patterns */
|
|
|
|
|
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; }
|
|
|
|
|
uint64_t PruneAfterHeight() const { return nPruneAfterHeight; }
|
|
|
|
|
/** Minimum free space (in GB) needed for data directory */
|
|
|
|
@ -77,8 +77,6 @@ public:
|
|
|
|
|
bool MineBlocksOnDemand() const { return consensus.fPowNoRetargeting; }
|
|
|
|
|
/** Return the BIP70 network string (main, test or regtest) */
|
|
|
|
|
std::string NetworkIDString() const { return strNetworkID; }
|
|
|
|
|
/** Return true if the fallback fee is by default enabled for this network */
|
|
|
|
|
bool IsFallbackFeeEnabled() const { return m_fallback_fee_enabled; }
|
|
|
|
|
/** Return the list of hostnames to look up for DNS seeds */
|
|
|
|
|
const std::vector<std::string>& DNSSeeds() const { return vSeeds; }
|
|
|
|
|
const std::vector<unsigned char>& Base58Prefix(Base58Type type) const { return base58Prefixes[type]; }
|
|
|
|
@ -106,7 +104,6 @@ protected:
|
|
|
|
|
bool m_is_test_chain;
|
|
|
|
|
CCheckpointData checkpointData;
|
|
|
|
|
ChainTxData chainTxData;
|
|
|
|
|
bool m_fallback_fee_enabled;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|