-
Notifications
You must be signed in to change notification settings - Fork 906
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wallet/db.c, wallet/wallet.c: Add a partial index to speed up startup.
Closes: #4901 Tested by `EXPLAIN QUERY PLAN` on sqlite3; #4901 shows the result from @whitslack doing a similar partial index on PostgreSQL on his ~1000 chan node. ChangeLog-Added: db: Speed up loading of pending HTLCs during startup by using a partial index.
- Loading branch information
Showing
2 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters