aboutsummaryrefslogtreecommitdiff
path: root/db.h
diff options
context:
space:
mode:
authorSatoshi Nakamoto <[email protected]>2010-08-04 01:51:34 +0000
committerGavin Andresen <[email protected]>2010-08-04 01:51:34 +0000
commitb34e8c3c369331189c01bcbb7682af9d7daa42cd (patch)
treee6da267e5bfb4fde1472c32154f73ba7a73b74b7 /db.h
parentfixed segfault in bignum.h, additional security limits, refactoring (diff)
downloadarchived-discoin-0.3.8.tar.xz
archived-discoin-0.3.8.zip
new safety feature displays a warning message and locks down RPC if it detects a problem that may require an upgradev0.3.8
-- version 0.3.8
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 96d0973d8..83eff3540 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();
};