aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-16 17:05:50 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-16 17:05:50 +0000
commit15399da9fe29336f119121340146d78973b601a5 (patch)
tree35a119aa0cd0adea14657b8dbe184b4eef3bdafb /main.h
parent6da916d4acf0c26be81b4547da0e4160d53aacc8 (diff)
downloadbitcoin-15399da9fe29336f119121340146d78973b601a5.tar.xz
blocks-1,
verify block chain on load, so wouldn't have needed to delete blk*.dat, it would have done a reorg automatically git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@137 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'main.h')
-rw-r--r--main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.h b/main.h
index 771b21bfcd..1cc410be61 100644
--- a/main.h
+++ b/main.h
@@ -1065,6 +1065,7 @@ public:
bool DisconnectBlock(CTxDB& txdb, CBlockIndex* pindex);
bool ConnectBlock(CTxDB& txdb, CBlockIndex* pindex);
bool ReadFromDisk(const CBlockIndex* blockindex, bool fReadTransactions=true);
+ bool SetBestChain(CTxDB& txdb, CBlockIndex* pindexNew);
bool AddToBlockIndex(unsigned int nFile, unsigned int nBlockPos);
bool CheckBlock() const;
bool AcceptBlock();