diff options
| author | Pieter Wuille <[email protected]> | 2012-04-17 23:03:24 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-04-26 00:31:54 +0200 |
| commit | 83743ed6810cfe6a0c0c260fa2477dffbe05950c (patch) | |
| tree | 2b151b9c1453fcdd0da74deb9431ec2db29e15a7 /src/qt/optionsmodel.h | |
| parent | Merge pull request #1140 from jgarzik/sign-compare (diff) | |
| download | discoin-83743ed6810cfe6a0c0c260fa2477dffbe05950c.tar.xz discoin-83743ed6810cfe6a0c0c260fa2477dffbe05950c.zip | |
Make lsn_reset ("detach databases") optional and off by default.
Add an option -detachdb (and entry in OptionDialog), without which no
lsn_reset is called on addr.dat and blkindex.dat. That means these
files cannot be moved to a new environment, but shutdown can be
significantly faster. The wallet file is always lsn_reset'ed.
-detachdb corresponds to the old behaviour, though it is off by
default now to speed up shutdowns.
Diffstat (limited to 'src/qt/optionsmodel.h')
| -rw-r--r-- | src/qt/optionsmodel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 0be70f893..da4e86f10 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -26,7 +26,8 @@ public: Fee, // qint64 DisplayUnit, // BitcoinUnits::Unit DisplayAddresses, // bool - OptionIDRowCount + DetachDatabases, // bool + OptionIDRowCount, }; void Init(); |