aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-05-23 00:17:07 -0400
committerJeff Garzik <[email protected]>2012-05-23 00:17:07 -0400
commit9ac282ca0cf841435cfdd0fc3b9f018a5a5cbfc1 (patch)
tree80c82e7e036733852645ee1b0145d00050a073fb /src/db.h
parentCDBEnv: fix qt build (diff)
downloaddiscoin-9ac282ca0cf841435cfdd0fc3b9f018a5a5cbfc1.tar.xz
discoin-9ac282ca0cf841435cfdd0fc3b9f018a5a5cbfc1.zip
Refactor: add IsChainFile helper. LoadBlockIndex() code movement.
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db.h b/src/db.h
index 3cb07ed50..552705456 100644
--- a/src/db.h
+++ b/src/db.h
@@ -318,6 +318,8 @@ public:
bool ReadBestInvalidWork(CBigNum& bnBestInvalidWork);
bool WriteBestInvalidWork(CBigNum bnBestInvalidWork);
bool LoadBlockIndex();
+private:
+ bool LoadBlockIndexGuts();
};