aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-01-30 21:43:36 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2013-02-01 23:29:59 +0100
commit386037615ae02f972287a958d22a5bd2760626a7 (patch)
tree308156e618b67b34bd7eb07b1338f16e41729d10 /src/main.h
parent3d29d5d623c03a26177176a9b422cb00dedd9108 (diff)
Make sure the genesis block is present after reindex
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 23a4d3ba31..3c7e4e1005 100644
--- a/src/main.h
+++ b/src/main.h
@@ -133,6 +133,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 */