diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-08-01 13:01:59 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-08-01 13:07:53 +0200 |
| commit | 754aa02b8a72af0fa0a3b2bdfee1ef1b592aef6a (patch) | |
| tree | 29fb27cbbe55059d4f6d231fe15a41a44a7a88af /src/httpserver.cpp | |
| parent | Merge #10758: Fix some chainstate-init-order bugs. (diff) | |
| parent | Force on-the-fly compaction during pertxout upgrade (diff) | |
| download | discoin-754aa02b8a72af0fa0a3b2bdfee1ef1b592aef6a.tar.xz discoin-754aa02b8a72af0fa0a3b2bdfee1ef1b592aef6a.zip | |
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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions