mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-03 09:23:01 +01:00
Replace repeated GetBoolArg() calls with Checkpoint::fEnabled variable
set once at init time.
This commit is contained in:
@@ -24,6 +24,8 @@ namespace Checkpoints
|
||||
CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex);
|
||||
|
||||
double GuessVerificationProgress(CBlockIndex *pindex);
|
||||
|
||||
extern bool fEnabled;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user