6865fe380d
pytest: increase test_generate_coinmoves to 5M entries.
Rusty Russell
2025-11-20 12:07:15 +10:30
a877e285ef
sql: limit how many chainmoves/channelmoves entries we ask for at once.
Rusty Russell
2025-11-20 12:07:15 +10:30
873d4102c8
bookkeeper: restore limit on asking for all channelmoves at once.
Rusty Russell
2025-11-20 12:07:15 +10:30
98bd95cb2e
lightningd: optimize find_cmd.
Rusty Russell
2025-11-20 12:07:15 +10:30
7910ee44ba
sql: use wait RPC so we don't have to check listchannelmoves/listchainmoves each time.
Rusty Russell
2025-11-20 12:07:15 +10:30
bb7db3926e
sql: if we use dev-sqlfilename, don't bother syncing it to disk.
Rusty Russell
2025-11-20 12:07:15 +10:30
b63034bd37
plugins/sql: use modern data style, not globals.
Rusty Russell
2025-11-20 12:07:15 +10:30
94d582f24e
lightningd: don't process more than 100 commands from a plugin at once.
Rusty Russell
2025-11-20 12:07:14 +10:30
b51e2827cd
lightningd: don't process more than 100 commands from a JSONRPC at once.
Rusty Russell
2025-11-20 12:07:14 +10:30
5fc9e5a4e3
ccan: update to get io_loop fairness.
Rusty Russell
2025-11-20 12:07:14 +10:30
54d4bf117f
common: optimize json parsing.
Rusty Russell
2025-11-20 12:07:14 +10:30
d2a6091149
common: increase jsonrpc_io buffer size temporarily to aggrevate perf issues.
Rusty Russell
2025-11-20 12:07:14 +10:30
aff1d6b97f
commando, chanbackup: use custommsg hooks.
Rusty Russell
2025-11-20 12:07:14 +10:30
213cbba5bf
lightningd: allow filtering on custommsg hook too.
Rusty Russell
2025-11-20 12:07:14 +10:30
81f0d0540b
pyln-client: support hook filters.
Rusty Russell
2025-11-20 12:07:13 +10:30
9961f6bf0e
xpay: use filtering on rpc_command so we only get called on "pay".
Rusty Russell
2025-11-20 12:07:13 +10:30
1d4a1cdd8a
libplugin: don't wait for clean_tmpctx() to free requests as we process them.
Rusty Russell
2025-11-20 12:07:13 +10:30
ebe5f2e68f
libplugin: allow plugins to register optional filters for each hook they want.
Rusty Russell
2025-11-20 12:07:13 +10:30
d9d82ac5bd
lightningd: add support for filters on "rpc_command" hook.
Rusty Russell
2025-11-20 12:07:13 +10:30
d76a9050ad
lightningd: support "filters" in plugins manifest to restrict when hooks are called.
Rusty Russell
2025-11-20 12:07:13 +10:30
9e04d044a2
JSONRPC: use a bigger default buffer.
Rusty Russell
2025-11-20 12:07:13 +10:30
8707b7312a
lightningd: handle large numbers of command outputs gracefully.
Rusty Russell
2025-11-20 12:07:12 +10:30
6006467824
pytest: increase test_generate_coinmoves to 2M entries.
Rusty Russell
2025-11-20 12:07:12 +10:30
cbd52d49af
common: avoid allocations for small numbers of traces.
Rusty Russell
2025-11-20 12:07:12 +10:30
7f55a8ea1a
common: remove tracing exponential behaviour from large numbers of requests.
Rusty Russell
2025-11-20 12:07:12 +10:30
cfa89f64e9
lightningd: don't loop through all commands every time one finishes.
Rusty Russell
2025-11-20 12:07:12 +10:30
576f48cb74
lightningd: log when we have to defer hook registration.
Rusty Russell
2025-11-20 12:07:12 +10:30
a4f772efa7
lightningd: avoid race when runtime-added plugins register hooks.
Rusty Russell
2025-11-20 12:07:06 +10:30
6e5a5b0f75
lightningd: don't copy hooks array into hook request, simply don't shrink it.
Rusty Russell
2025-11-20 10:37:46 +10:30
fd2bf0dc16
pytest: latency and speed test on large coinmoves.
Rusty Russell
2025-11-20 10:37:45 +10:30
673729bdb9
Revert "bookkeeper: don't flood logs if we have many channelmoves all at once."
Rusty Russell
2025-11-20 10:37:45 +10:30
2f2eacaac7
bookkeeper: no longer read listchannelmoves 1000 entries at a time.
Rusty Russell
2025-11-20 10:37:45 +10:30
459e213610
plugins/sql: print times taken to do list comand, populate table, and create index.
Rusty Russell
2025-11-20 10:37:45 +10:30
697780035f
plugins/sql: remove size limit.
Rusty Russell
2025-11-20 10:37:45 +10:30
d66e7de9bc
pytest: fix changed msg on plugin failure.
Rusty Russell
2025-11-20 10:37:19 +10:30
ef5a9bd0de
bookkeeper: fix printing of bad JSON results.
Rusty Russell
2025-11-20 10:34:50 +10:30
55d622bd0e
lightningd: fix race with mutual connect.
Rusty Russell
2025-11-19 10:10:58 +10:30
79e609468a
connectd: don't complain if lightningd is unresponsive while doing dev-memleak.
Rusty Russell
2025-11-19 10:54:02 +10:30
9d803caeec
pytest: fix flake in test_connect_ratelimit
Rusty Russell
2025-11-19 10:54:01 +10:30
989d59f72d
pytest: fix flake when htlc_timeout_tx gets short sig:
Rusty Russell
2025-11-03 14:44:07 +10:30
215294bc2d
lightningd: another gossip transition corner case.
Rusty Russell
2025-11-03 13:39:46 +10:30
2520bd5b90
pytest: test withhold parameter to fundchannel_complete.
Rusty Russell
2025-11-18 22:24:33 +10:30
ead680eb7b
lightningd: remove withheld flag when we see sendpsbt.
Rusty Russell
2025-11-18 22:24:33 +10:30
b74d32f6c4
lightningd: add withhold option to fundchannel_complete.
Rusty Russell
2025-11-18 22:24:32 +10:30
33e5876d29
lightningd: don't rebroadcast withheld channels' funding_psbt on restart.
Rusty Russell
2025-11-18 22:24:32 +10:30
8d99c5b839
lightningd: immediately close without broadcast whenever we close a withheld channel.
Rusty Russell
2025-11-18 22:24:19 +10:30
39349965a6
lightningd: add withheld flag to listpeerchannels and listclosedchannels.
Rusty Russell
2025-11-18 14:49:36 +10:30
ff433a17a8
lightningd: save funding PSBT to database if we're to withhold it.
Rusty Russell
2025-11-18 14:42:04 +10:30
df5f38dbc1
spender: look for unsigned PSBT on awaiting channels on startup, and re-send.
Rusty Russell
2025-11-18 14:41:04 +10:30
606aad07ed
lightningd: expose funding PSBT (if we have it) in JSON API.
Rusty Russell
2025-11-18 14:40:04 +10:30
409beb6923
pytest: test failure if we crash after fundchannel_complete but before sendpsbt.
Rusty Russell
2025-11-18 14:39:04 +10:30
d44fa2f3bd
lightningd: re-xmit funding txs on startup.
Rusty Russell
2025-11-18 14:38:04 +10:30
ae9ecba375
sendpsbt: update channel psbts if this is a channel PSBT.
Rusty Russell
2025-11-18 14:37:04 +10:30
5cbab33dc4
lightningd: save funding_psbt in channel, database.
Rusty Russell
2025-11-18 14:36:04 +10:30
21d19546d5
pytest: test case where we crash before bitcoind gets the opening tx.
Rusty Russell
2025-11-18 14:35:04 +10:30
c43206e463
lightningd: allow another gossip state transition.
Rusty Russell
2025-11-18 14:34:04 +10:30
f284489c96
common: don't abort() if wally_psbt_output_taproot_keypath_add() fails.
Rusty Russell
2025-11-18 14:33:04 +10:30
eaf7ac19c1
pytest: test for signing a signed PSBT.
Rusty Russell
2025-11-18 14:32:04 +10:30
29e4c3fef2
offers: require opt_onion_message for incoming invoices too. Changelog-Fixed: offers: require peers for blinded paths to have option_onion_messages, due to reports of LND not forwarding our blinded payments correctly.
21M4TW
2025-11-18 10:38:13 +10:30
a3441ff2d0
offers: make find_best_peer take a feature bitmap.
Rusty Russell
2025-11-18 10:36:27 +10:30
13852b7ff5
pytest: add tests for channel_state_changed into the CLOSED state.
Rusty Russell
2025-11-18 11:04:58 +10:30
cbfe1a9996
lightningd: notify plugins when finalizing channel
Matt Whitlock
2025-11-18 11:04:56 +10:30
7c7f1e4235
lightningd: deprecate "message": null in channel_state_changed notifications.
Rusty Russell
2025-11-18 10:11:24 +10:30
64563c51f4
schemas: allow *CLOSED* state in channel_state_changed notification.
Rusty Russell
2025-11-17 19:47:00 +10:30
73147dafe2
xpay: restrict maxparts to 6 for non-public nodes, but remove it if we can't route.
Rusty Russell
2025-11-17 16:14:28 +10:30
145af08feb
pytest: Test that we don't try to pay too many htlcs at once through an unknown channel.
Rusty Russell
2025-11-17 12:09:38 +10:30
e5b68cada7
xpay: don't place global reservations on generated channels.
Rusty Russell
2025-11-17 12:07:59 +10:30
1102d8063e
askrene: add optional layers to reservations.
Rusty Russell
2025-11-17 12:07:57 +10:30
da4edd2811
pytest: test to demonstrate that reservations of "private" channels overlap.
Rusty Russell
2025-11-17 10:57:18 +10:30
6e4bc1dd6c
askrene: neated flow array handling, by freeing flows we discard.
Rusty Russell
2025-11-17 09:18:39 +10:30
69adf38784
askrene: remove now-unused bottleneck_idx from flow_max_deliverable.
Rusty Russell
2025-11-16 15:36:15 +10:30
8c7ac33f88
askrene: implement reduce_num_flows in refine, using increase_flows().
Rusty Russell
2025-11-16 15:36:13 +10:30
050b149e53
askrene: handle maxparts parameter values 1 and 0.
Rusty Russell
2025-11-13 15:49:31 +10:30
330f51aad7
askrene: make increase_flows function more generic.
Rusty Russell
2025-11-13 15:48:31 +10:30
a8a6a44679
askrene: clean up renamed functions.
Rusty Russell
2025-11-13 15:47:31 +10:30
7c7a4f8795
askrene: Remove index indirection from squash_flows, simplify sorting.
Rusty Russell
2025-11-13 15:46:31 +10:30
2735673f82
askrene: make increase_flows() use the raw flows array.
Rusty Russell
2025-11-13 15:45:31 +10:30
e3dfc020da
askrene: remove indexes from refine_flows except for increase_flows()
Rusty Russell
2025-11-13 15:44:31 +10:30
565a92e8fa
askrene: use flows array directly in remove_excess.
Rusty Russell
2025-11-13 15:43:31 +10:30
31d28bad86
askrene: remove max_deliverable cache from increase_flows.
Rusty Russell
2025-11-13 15:42:31 +10:30
e120202120
askrene: fix use-after-free if remove_htlc_min_violations fails.
Rusty Russell
2025-11-13 15:41:31 +10:30
b5b4dbf2c2
askrene: fix error path if we fail sanity checks.
Rusty Russell
2025-11-13 15:40:31 +10:30
b6c220457f
askrene: remove overzealous cache of channel_data.
Rusty Russell
2025-11-13 15:39:31 +10:30