aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-02-16 17:58:45 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2013-02-17 23:25:42 +0100
commitf7f3a96b74bb795d6e184a628adce21c744d234f (patch)
tree79999de8be9721005662fc0dcc51cc4a030a1256 /src/main.h
parent2f0fa79db290d5139c27409055b2035099afa6fd (diff)
Improve block database load error reporting
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 d69aef94ea..4a217d1746 100644
--- a/src/main.h
+++ b/src/main.h
@@ -139,6 +139,8 @@ bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos *dbp = NULL);
bool InitBlockIndex();
/** Load the block tree and coins database from disk */
bool LoadBlockIndex();
+/** Unload database information */
+void UnloadBlockIndex();
/** Verify consistency of the block and coin databases */
bool VerifyDB();
/** Print the loaded block tree */