aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorGregory Maxwell <gmaxwell@gmail.com>2012-03-12 15:21:36 -0700
committerGregory Maxwell <gmaxwell@gmail.com>2012-03-12 15:21:36 -0700
commit89cccc83f8203986844b3561f4cf5dfc0fdcb2dc (patch)
tree5b98bddc5cb9258e5afab24505ad3dba7238b31a /src/main.h
parent336ba312a6ddc08f40ce456bfd09f0711bdc78dc (diff)
parentd68dcf741e088d8d7033521aa1a1e5e87d9dd283 (diff)
Merge pull request #930 from sipa/minireorg
Limit the impact of reorganisations on the database (fix #925)
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 25750dae46..b731d896e8 100644
--- a/src/main.h
+++ b/src/main.h
@@ -1030,6 +1030,9 @@ public:
bool AddToBlockIndex(unsigned int nFile, unsigned int nBlockPos);
bool CheckBlock() const;
bool AcceptBlock();
+
+private:
+ bool SetBestChainInner(CTxDB& txdb, CBlockIndex *pindexNew);
};