aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-16 03:15:11 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-16 03:21:21 +0200
commit765f3984364bfd9647efa5f3e978cf203a7c5183 (patch)
tree2a97acaa13580c855549154f42f2f9e952443b63 /src/main.h
parent327dcfece7e13ceaeafbf29785e3076dbf6f1d28 (diff)
parentf7e36370f36ca806076cdcf0cd3ed0c35fd38c42 (diff)
Merge pull request #4875
f7e3637 Eliminate extra assignment (Suhas Daftuar) ec7eb0f When reindexing check for file before trying to open (refactored) (Suhas Daftuar)
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 d340fd0b6a..f83db59849 100644
--- a/src/main.h
+++ b/src/main.h
@@ -146,6 +146,8 @@ bool CheckDiskSpace(uint64_t nAdditionalBytes = 0);
FILE* OpenBlockFile(const CDiskBlockPos &pos, bool fReadOnly = false);
/** Open an undo file (rev?????.dat) */
FILE* OpenUndoFile(const CDiskBlockPos &pos, bool fReadOnly = false);
+/** Translation to a filesystem path */
+boost::filesystem::path GetBlockPosFilename(const CDiskBlockPos &pos, const char *prefix);
/** Import blocks from an external file */
bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos *dbp = NULL);
/** Initialize a new block tree database + block data on disk */