Refactor: add IsChainFile helper. LoadBlockIndex() code movement.

This commit is contained in:
Jeff Garzik
2012-05-23 00:17:07 -04:00
committed by Jeff Garzik
parent f9189543bf
commit 9ac282ca0c
2 changed files with 83 additions and 63 deletions

View File

@@ -318,6 +318,8 @@ public:
bool ReadBestInvalidWork(CBigNum& bnBestInvalidWork);
bool WriteBestInvalidWork(CBigNum bnBestInvalidWork);
bool LoadBlockIndex();
private:
bool LoadBlockIndexGuts();
};