core-lightning/wallet
Rusty Russell cfa632b0e9 lightningd: use hash map for peers instead of linked list.
After connecting 100,000 peers with one channel each (not all at
once!), we see various places where we exhibit O(N^2) behaviour.

Fix these by keeping a map of id->peer instead of a simple
linked-list.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-01-21 08:05:31 -06:00
..
test lightningd: use hash map for peers instead of linked list. 2023-01-21 08:05:31 -06:00
.gitignore
db.c comm: make sure that our version check is reliable 2023-01-17 14:15:24 +10:30
db.h database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
invoices.c delinvoice: allow desconly arg to only remove the description. 2022-03-29 10:04:16 +10:30
invoices.h delinvoice: allow desconly arg to only remove the description. 2022-03-29 10:04:16 +10:30
Makefile wallet: add dependency on lightningd/ headers. 2023-01-21 08:05:31 -06:00
reservation.c wallet: fundpsbt, utxopsbt reserve cannot be bool. 2022-12-13 08:28:12 +10:30
txfilter.c all: no longer need to call htable_clear to free htable contents. 2023-01-12 11:44:10 +10:30
txfilter.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
wallet.c db: Fix the ordering of channel_htlcs in postgres 2023-01-02 14:32:41 +01:00
wallet.h db: add invoicerequests table. 2022-11-09 15:08:03 +01:00
walletrpc.c lightningd: use hash map for peers instead of linked list. 2023-01-21 08:05:31 -06:00
walletrpc.h daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30