aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-02-05 10:15:06 -0500
committerGavin Andresen <gavinandresen@gmail.com>2013-02-05 10:15:06 -0500
commit79892883d714dd34906a0f641400d6b237ebd75c (patch)
treee77e54f30d6a8c5aae250f18451c1280d6b2a583 /src/main.h
parent1d0851eca8917f1c3edaa51886c70353f03f8205 (diff)
parent386037615ae02f972287a958d22a5bd2760626a7 (diff)
downloadbitcoin-79892883d714dd34906a0f641400d6b237ebd75c.tar.xz
Merge branch 'reindexgen' of git://github.com/sipa/bitcoin
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index d8e6a1bd33..d69aef94ea 100644
--- a/src/main.h
+++ b/src/main.h
@@ -135,6 +135,8 @@ FILE* OpenBlockFile(const CDiskBlockPos &pos, bool fReadOnly = false);
FILE* OpenUndoFile(const CDiskBlockPos &pos, bool fReadOnly = false);
/** Import blocks from an external file */
bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos *dbp = NULL);
+/** Initialize a new block tree database + block data on disk */
+bool InitBlockIndex();
/** Load the block tree and coins database from disk */
bool LoadBlockIndex();
/** Verify consistency of the block and coin databases */