Rusty Russell
391da2f440
lightningd: don't let them fundpsbt below emergency reserve.
...
This is the simple version which always tries to keep some sats if we
have an anchor channel. Turns out that we need something more
sophisticated for multifundchannel, so that's next.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
Changelog-Changed: JSON-RPC: `withdraw` will refuse to spend funds below `min-emergency-msat` if we have any anchor channels (and `all` will be reduced appropriately).
Changelog-Changed: JSON-RPC: `fundpsbt` and `utxopsbt` will refuse to spend funds below `min-emergency-msat` if we have any anchor channels.
2023-06-29 11:28:47 -04:00
..
2023-06-29 11:28:47 -04:00
2021-10-28 15:51:38 +02:00
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2023-06-13 16:27:10 +02:00
2023-06-13 16:27:10 +02:00
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2022-09-12 09:34:52 +09:30
2023-03-25 15:28:02 +10:30
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2023-03-25 15:28:02 +10:30
2023-03-25 15:28:02 +10:30
2023-06-29 11:28:47 -04:00
2022-09-16 12:31:45 +09:30
2023-01-21 08:05:31 -06:00
2022-02-07 13:02:09 +10:30
2023-06-20 20:08:25 +09:30
2023-06-03 10:50:29 +09:30
2023-02-05 20:40:47 +01:00
2023-02-11 12:22:40 -06:00
2023-06-29 11:28:47 -04:00
2023-01-13 10:42:42 +10:30
2023-06-29 11:28:47 -04:00
2023-04-10 07:31:12 +09:30
2023-03-18 15:55:49 +10:30
2022-09-24 15:22:27 +09:30
2023-06-29 11:28:47 -04:00
2023-04-10 17:26:47 +09:30
2022-10-26 11:29:06 +10:30
2022-10-26 11:29:06 +10:30
2023-04-07 21:22:56 +09:30
2020-09-08 09:42:00 +09:30
2023-06-22 13:23:21 +09:30
2020-09-08 09:42:00 +09:30
2022-03-05 15:03:34 +10:30
2019-05-31 17:57:10 +02:00
2023-06-05 16:16:21 +02:00
2022-11-21 11:23:54 +01:00
2023-06-29 11:28:47 -04:00
2023-06-29 11:28:47 -04:00
2021-12-06 10:05:39 +10:30
2021-09-17 09:43:22 +09:30
2023-06-20 20:08:25 +09:30
2022-07-09 09:59:52 +09:30
2023-06-29 11:28:47 -04:00
2023-04-10 17:26:47 +09:30
2022-03-10 09:40:09 +10:30
2023-03-18 15:55:49 +10:30
2022-09-19 10:18:55 +09:30
2023-04-10 17:26:47 +09:30
2023-06-29 11:28:47 -04:00
2021-12-28 04:42:42 +10:30
2023-01-30 13:24:29 +10:30
2021-12-01 05:44:28 +10:30
2023-04-10 17:26:47 +09:30
2022-09-21 11:25:47 +02:00
2023-06-29 11:28:47 -04:00
2023-01-13 10:42:42 +10:30
2023-06-29 11:28:47 -04:00
2023-06-20 20:08:25 +09:30
2023-04-07 21:22:56 +09:30
2022-09-19 10:18:55 +09:30
2023-06-29 11:28:47 -04:00
2023-06-20 10:07:11 +09:30
2022-02-08 11:15:52 +10:30
2022-02-08 11:15:52 +10:30
2023-04-11 11:22:30 +09:30
2023-01-17 14:13:45 +10:30
2022-07-15 12:24:00 -05:00
2022-09-16 12:31:45 +09:30
2021-06-25 09:49:33 +09:30
2023-01-12 11:44:10 +10:30
2022-09-16 12:31:45 +09:30
2023-06-20 20:08:25 +09:30
2023-06-20 20:08:25 +09:30
2022-08-09 16:31:36 -05:00
2021-06-16 10:29:17 +09:30
2023-04-10 17:26:47 +09:30
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2023-01-12 11:44:10 +10:30
2022-08-31 12:18:28 +03:00