aboutsummaryrefslogtreecommitdiff
path: root/db.h
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-03 18:25:05 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-03 18:25:05 +0000
commit2c06be915de967494920bdbb3096bbb455ccf99f (patch)
treeda4dca822bdb75d871ee8d652b4aa306e62bff20 /db.h
parent6ff5f718b6a67797b2b3bab8905d607ad216ee21 (diff)
downloadbitcoin-2c06be915de967494920bdbb3096bbb455ccf99f.tar.xz
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 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@122 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'db.h')
-rw-r--r--db.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/db.h b/db.h
index 0b9e6f7ef1..3783128577 100644
--- a/db.h
+++ b/db.h
@@ -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();
};