Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet/db.c, wallet/wallet.c: Add a partial index to speed up startup. #4925

Merged
merged 1 commit into from
Dec 2, 2021

Commits on Nov 29, 2021

  1. wallet/db.c, wallet/wallet.c: Add a partial index to speed up startup.

    Closes: ElementsProject#4901
    
    Tested by `EXPLAIN QUERY PLAN` on sqlite3; ElementsProject#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.
    ZmnSCPxj committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    7c63ce4 View commit details
    Browse the repository at this point in the history