Skip to content

Commit

Permalink
Revert "wallet: Remove in-memory utxoset filter"
Browse files Browse the repository at this point in the history
This reverts commit c239a71.

The goal of c239a71 was to reduce the memory footprint of our
internal UTXO set tracking, and testing against the sqlite3 backend
showed no performance impact. We have since found that the added
roundtrips to the DB server with postgres was having a considerable
performance impact, and backups would also bloat due to the increased
number of queries.

Undoing this change skips the noop updates that were causing this
regression.

Changelog-Fixed: db: Fixed a performance regression during block sync, resulting in many more queries against the DB than necessary.
  • Loading branch information
cdecker committed Jan 7, 2021
1 parent 70410b8 commit 8026a95
Show file tree
Hide file tree
Showing 6 changed files with 205 additions and 129 deletions.
16 changes: 14 additions & 2 deletions wallet/db_postgres_sqlgen.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions wallet/db_sqlite3_sqlgen.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8026a95

Please sign in to comment.