diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2015-04-10 18:35:09 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2015-04-13 18:39:53 +0200 |
commit | e8e8904ddae09ef9dc444bcdd2955109c9e9ce64 (patch) | |
tree | 5d5d252d7ba327c04c9c69519617a51cb990ee54 /src/chainparams.h | |
parent | 9125c08f3468928eba004636bd95494a94e1a82b (diff) |
Chainparams: Cleanup: Delete CChainParams getters to attributes from Consensus::Params
Diffstat (limited to 'src/chainparams.h')
-rw-r--r-- | src/chainparams.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/chainparams.h b/src/chainparams.h index e5e691cc53..d604c1d76e 100644 --- a/src/chainparams.h +++ b/src/chainparams.h @@ -44,7 +44,6 @@ public: const CMessageHeader::MessageStartChars& MessageStart() const { return pchMessageStart; } const std::vector<unsigned char>& AlertKey() const { return vAlertPubKey; } int GetDefaultPort() const { return nDefaultPort; } - const uint256& ProofOfWorkLimit() const { return consensus.powLimit; } int SubsidyHalvingInterval() const { return consensus.nSubsidyHalvingInterval; } int EnforceBlockUpgradeMajority() const { return consensus.nMajorityEnforceBlockUpgrade; } int RejectBlockOutdatedMajority() const { return consensus.nMajorityRejectBlockOutdated; } @@ -62,9 +61,6 @@ public: bool AllowMinDifficultyBlocks() const { return consensus.fPowAllowMinDifficultyBlocks; } /** Make standard checks */ bool RequireStandard() const { return fRequireStandard; } - int64_t TargetTimespan() const { return consensus.nPowTargetTimespan; } - int64_t TargetSpacing() const { return consensus.nPowTargetSpacing; } - int64_t DifficultyAdjustmentInterval() const { return consensus.nPowTargetTimespan / consensus.nPowTargetSpacing; } /** Make miner stop after a block is found. In RPC, don't return until nGenProcLimit blocks are generated */ bool MineBlocksOnDemand() const { return fMineBlocksOnDemand; } /** In the future use NetworkIDString() for RPC fields */ |