core-lightning/wallet
ZmnSCPxj jxPCSnmZ 3433ff5e15 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.
2021-12-02 11:54:57 +01:00
..
test memleak: make notleak use the tal name instead of a boutique struct. 2021-11-27 10:38:13 +10:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
db_common.h lightningd: shutdown plugins after subdaemons and assert no write access to db 2021-11-30 13:34:44 +10:30
db_postgres.c wallet: db column manipulation helpers. 2021-11-17 10:51:48 +10:30
db_sqlite3.c wallet: fix sqlite3 column renaming since db backup merge. 2021-11-18 12:53:17 +10:30
db.c wallet/db.c, wallet/wallet.c: Add a partial index to speed up startup. 2021-12-02 11:54:57 +01:00
db.h lightningd: shutdown plugins after subdaemons and assert no write access to db 2021-11-30 13:34:44 +10:30
invoices.c wallet: have db track what columns are accessed in DEVELOPER mode. 2021-11-17 10:51:48 +10:30
invoices.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
Makefile Makefile: remove NO_PYTHON flag in anticipation of making it compulsory. 2021-09-22 15:25:14 +02:00
reservation.c common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
txfilter.c common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
txfilter.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
wallet.c wallet/db.c, wallet/wallet.c: Add a partial index to speed up startup. 2021-12-02 11:54:57 +01:00
wallet.h lightningd: cleanup, freeing jsonrpc in shutdown cannot trigger db write's anymore 2021-11-30 13:34:44 +10:30
walletrpc.c common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
walletrpc.h common: pull up param_psbt 2020-10-20 12:50:31 +10:30