diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-16 17:05:50 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-16 17:05:50 +0000 |
commit | 15399da9fe29336f119121340146d78973b601a5 (patch) | |
tree | 35a119aa0cd0adea14657b8dbe184b4eef3bdafb /main.h | |
parent | 6da916d4acf0c26be81b4547da0e4160d53aacc8 (diff) | |
download | bitcoin-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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();
|