aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.h
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2013-05-24 11:10:53 -0400
committerJeff Garzik <[email protected]>2013-05-24 11:10:53 -0400
commitf0d8a52cc039cda77730047db2443fbec016f852 (patch)
tree9ee293b71d88c4b2b2e34ad49b5248b9bde9d97e /src/checkpoints.h
parentdoc/README was replaced by README.md (diff)
downloaddiscoin-f0d8a52cc039cda77730047db2443fbec016f852.tar.xz
discoin-f0d8a52cc039cda77730047db2443fbec016f852.zip
Replace repeated GetBoolArg() calls with Checkpoint::fEnabled variable
set once at init time.
Diffstat (limited to 'src/checkpoints.h')
-rw-r--r--src/checkpoints.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checkpoints.h b/src/checkpoints.h
index 3d5688555..a49a908a3 100644
--- a/src/checkpoints.h
+++ b/src/checkpoints.h
@@ -24,6 +24,8 @@ namespace Checkpoints
CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex);
double GuessVerificationProgress(CBlockIndex *pindex);
+
+ extern bool fEnabled;
}
#endif