Replace repeated GetBoolArg() calls with Checkpoint::fEnabled variable

set once at init time.
This commit is contained in:
Jeff Garzik
2013-05-24 11:10:53 -04:00
parent 36dc41f427
commit f0d8a52cc0
3 changed files with 9 additions and 3 deletions

View File

@@ -24,6 +24,8 @@ namespace Checkpoints
CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex);
double GuessVerificationProgress(CBlockIndex *pindex);
extern bool fEnabled;
}
#endif