diff options
| author | Alex Morcos <[email protected]> | 2015-10-19 14:43:04 -0400 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2015-10-19 14:43:04 -0400 |
| commit | d3b09f6bac738958b6bf5711bcb5291049b7466d (patch) | |
| tree | 73b6fdec569a2480f366ee7dc036bbe7165ba8ed /src/init.cpp | |
| parent | Merge pull request #6852 (diff) | |
| download | discoin-d3b09f6bac738958b6bf5711bcb5291049b7466d.tar.xz discoin-d3b09f6bac738958b6bf5711bcb5291049b7466d.zip | |
Do not allow blockfile pruning during reindex.
Also clarify startup message.
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index a079dce5b..4460ecb1f 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1498,10 +1498,10 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) // if pruning, unset the service bit and perform the initial blockstore prune // after any wallet rescanning has taken place. if (fPruneMode) { - uiInterface.InitMessage(_("Pruning blockstore...")); LogPrintf("Unsetting NODE_NETWORK on prune mode\n"); nLocalServices &= ~NODE_NETWORK; if (!fReindex) { + uiInterface.InitMessage(_("Pruning blockstore...")); PruneAndFlush(); } } |