new safety feature displays a warning message and locks down RPC if it detects a problem that may require an upgrade

-- version 0.3.8
This commit is contained in:
Satoshi Nakamoto
2010-08-04 01:51:34 +00:00
committed by Gavin Andresen
parent 73aa262647
commit b34e8c3c36
8 changed files with 81 additions and 34 deletions

2
db.h
View File

@@ -280,6 +280,8 @@ public:
bool EraseBlockIndex(uint256 hash);
bool ReadHashBestChain(uint256& hashBestChain);
bool WriteHashBestChain(uint256 hashBestChain);
bool ReadBestInvalidWork(CBigNum& bnBestInvalidWork);
bool WriteBestInvalidWork(CBigNum bnBestInvalidWork);
bool LoadBlockIndex();
};