HomePhabricator

Make lsn_reset ("detach databases") optional and off by default.
83743ed6810cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Apr 17 2012, 21:03
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGc2e8c8acd8ae: Merge pull request #1140 from jgarzik/sign-compare
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGING83743ed6810c: Make lsn_reset ("detach databases") optional and off by default. (authored by Pieter Wuille <pieter.wuille@gmail.com>).Apr 25 2012, 22:31