diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-08-01 13:01:59 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-08-01 13:07:53 +0200 |
commit | 754aa02b8a72af0fa0a3b2bdfee1ef1b592aef6a (patch) | |
tree | 29fb27cbbe55059d4f6d231fe15a41a44a7a88af /src/validationinterface.cpp | |
parent | bd924241e7dc1b002190e81cad3cb8913757fde1 (diff) | |
parent | efeb273305e3e4d2c42e1e153de83c1cb6f0a28c (diff) |
Merge #10526: Force on-the-fly compaction during pertxout upgrade
efeb273 Force on-the-fly compaction during pertxout upgrade (Pieter Wuille)
Pull request description:
It seems that LevelDB tends to leave the old "per txid" UTXO entries in the database lying around for a significant amount of time during and after the per-txout upgrade. This introduces a `CompactRange` function in the database wrapper, and invokes it after every batch of updates in `CCoinsViewDB::Upgrade()`. This lowers temporary disk usage during and after the upgrade.
Tree-SHA512: fbf964c0a33f4e73709c999c8a2bfdef974779c15820907398a2f8828f5fa3e4e153ddd9031d6fc5083be81e22b999b9bd826fd063ad8b88f55c5e8342503290
Diffstat (limited to 'src/validationinterface.cpp')
0 files changed, 0 insertions, 0 deletions