aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-05-23 00:17:07 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-05-23 00:17:07 -0400
commit9ac282ca0cf841435cfdd0fc3b9f018a5a5cbfc1 (patch)
tree80c82e7e036733852645ee1b0145d00050a073fb /src/db.h
parentf9189543bf4bdb099bc8b428d54226bd1050e1b0 (diff)
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 3cb07ed501..5527054560 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();
};