From fd311996e877d567a4e34a19b47e94d66e07100a Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Wed, 25 Mar 2015 15:00:32 -0400 Subject: consensus: don't use arith_uint256 in consensus.h Requiring arith_uint256 at such a base level is not good for modularity. --- src/chainparams.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/chainparams.h') diff --git a/src/chainparams.h b/src/chainparams.h index d0613beb45..e5e691cc53 100644 --- a/src/chainparams.h +++ b/src/chainparams.h @@ -6,7 +6,6 @@ #ifndef BITCOIN_CHAINPARAMS_H #define BITCOIN_CHAINPARAMS_H -#include "arith_uint256.h" #include "chainparamsbase.h" #include "checkpoints.h" #include "consensus/params.h" @@ -45,7 +44,7 @@ public: const CMessageHeader::MessageStartChars& MessageStart() const { return pchMessageStart; } const std::vector& AlertKey() const { return vAlertPubKey; } int GetDefaultPort() const { return nDefaultPort; } - const arith_uint256& ProofOfWorkLimit() const { return consensus.powLimit; } + 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; } -- cgit v1.2.3