mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-24 21:10:35 +01:00
Merge pull request #6055
a8cdaf5checkpoints: move the checkpoints enable boolean into main (Cory Fields)11982d3checkpoints: Decouple checkpoints from Params (Cory Fields)6996823checkpoints: make checkpoints a member of CChainParams (Cory Fields)9f13a10checkpoints: store mapCheckpoints in CCheckpointData rather than a pointer (Cory Fields)
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
||||
const std::vector<CDNSSeedData>& DNSSeeds() const { return vSeeds; }
|
||||
const std::vector<unsigned char>& Base58Prefix(Base58Type type) const { return base58Prefixes[type]; }
|
||||
const std::vector<SeedSpec6>& FixedSeeds() const { return vFixedSeeds; }
|
||||
virtual const Checkpoints::CCheckpointData& Checkpoints() const = 0;
|
||||
const Checkpoints::CCheckpointData& Checkpoints() const { return checkpointData; }
|
||||
protected:
|
||||
CChainParams() {}
|
||||
|
||||
@@ -96,6 +96,7 @@ protected:
|
||||
bool fRequireStandard;
|
||||
bool fMineBlocksOnDemand;
|
||||
bool fTestnetToBeDeprecatedFieldRPC;
|
||||
Checkpoints::CCheckpointData checkpointData;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user