Rusty Russell
cda8f8190b
invoice: overhaul routehints to use topology.listincoming, cleanup.
...
This turned into a more extensive cleanup than intended. The previous
warnings were overlapping and confusing, especially now MPP is the norm.
*warning_capacity* is now the "even under best circumstances, we don't
have enough incoming capacity", which is really what
warning_mpp_capacity was trying to say (no longer printed).
*warning_offline* and *warning_deadends* are only given if adding such
peers would have helped give capacity (i.e. not if *warning_capacity*
is set). The new *warning_private_unused* tells you that we would
have sufficient capacity, but we refused to expose private channels.
The test cases have been enhanced to cover the new warnings.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
Changelog-Added: JSON-RPC: `invoice` now gives `warning_private_unused` if unused unannounced channels could have provided sufficient capacity.
Changelog-Changed: JSON-RPC: `invoice` warnings are now better defined, and `warning_mpp_capacity` is no longer included (since `warning_capacity` covers that).
2021-06-16 10:29:17 +09:30
..
2018-06-18 12:45:00 +02:00
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
2015-07-18 10:46:53 +09:30
2021-02-22 13:01:56 +10:30
2018-03-04 03:22:32 +01:00
2019-02-18 02:42:29 +00:00
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2021-02-07 17:34:25 +01:00
2018-06-08 17:56:48 +02:00
2015-11-20 06:45:19 +10:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-20 14:07:25 +09:30
2015-07-20 14:07:25 +09:30
2015-07-20 14:07:25 +09:30
2015-07-20 14:07:25 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2021-05-24 13:45:10 +09:30
2020-10-21 19:34:39 +02:00
2020-10-23 12:47:47 -05:00
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2021-03-22 12:33:16 +10:30
2020-12-11 13:20:54 +01:00
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-02-25 14:35:57 -06:00
2021-02-25 14:35:57 -06:00
2021-02-11 09:48:55 +01:00
2021-02-08 14:46:50 +01:00
2021-06-11 13:54:20 +09:30
2021-06-11 13:54:20 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2021-05-27 20:28:49 +09:30
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
doc/schemas: disableoffer, disconnect, feerates, fetchinvoice, fundchannel, fundchannel_cancel, fundchannel_complete, fundchannel_start, fundpsbt, getinfo, getlog, getroute.
2021-05-27 20:28:49 +09:30
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
2020-09-08 14:55:29 +09:30
2020-09-08 14:55:29 +09:30
2020-11-10 10:34:13 -06:00
2020-11-10 10:34:13 -06:00
2021-06-16 10:29:17 +09:30
2021-06-16 10:29:17 +09:30
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
2021-05-27 20:28:49 +09:30
2020-09-08 14:55:29 +09:30
2021-03-03 09:19:20 +10:30
2021-03-03 09:19:20 +10:30
2021-05-26 15:08:01 +09:30
2021-05-26 15:08:01 +09:30
2021-01-09 14:34:35 +10:30
2021-01-09 14:34:35 +10:30
2021-05-27 20:28:49 +09:30
2020-09-08 14:55:29 +09:30
2021-02-25 14:44:03 +10:30
2021-02-25 14:44:03 +10:30
2021-06-01 11:14:38 -05:00
2021-06-01 11:14:38 -05:00
2021-05-27 20:28:49 +09:30
2021-03-05 13:12:41 +10:30
2021-06-01 11:14:38 -05:00
2021-06-01 11:14:38 -05:00
2021-05-27 20:28:49 +09:30
2020-09-08 14:55:29 +09:30
2020-10-21 11:24:16 +10:30
2020-10-21 11:24:16 +10:30
2020-09-09 20:36:08 +09:30
2020-09-09 20:36:08 +09:30
2021-03-02 11:56:59 +10:30
2021-03-02 11:56:59 +10:30
2020-10-23 13:53:16 +10:30
2020-10-23 13:53:16 +10:30
2021-02-25 14:44:03 +10:30
2021-02-25 14:44:03 +10:30
2021-02-25 14:44:03 +10:30
2021-02-25 14:44:03 +10:30
2021-03-15 14:08:44 +10:30
2021-03-15 14:08:44 +10:30
2021-03-12 14:00:19 +10:30
2021-03-12 14:00:19 +10:30
2021-03-15 14:08:44 +10:30
2021-03-15 14:08:44 +10:30
2021-03-15 14:08:44 +10:30
2021-03-15 14:08:44 +10:30
2021-03-15 14:08:44 +10:30
2021-03-15 14:08:44 +10:30
2021-01-14 13:56:13 +01:00
2021-01-14 13:56:13 +01:00
2020-09-08 14:55:29 +09:30
2020-09-08 14:55:29 +09:30
2020-12-15 09:28:56 +10:30
2020-12-15 09:28:56 +10:30
2021-05-26 15:08:01 +09:30
2021-05-26 15:08:01 +09:30
2021-01-14 13:56:13 +01:00
2021-01-14 13:56:13 +01:00
2021-06-04 10:48:10 +09:30
2021-06-04 10:48:10 +09:30
2021-01-14 13:56:13 +01:00
2021-01-14 13:56:13 +01:00
2021-01-08 19:28:30 +01:00
2021-01-08 19:28:30 +01:00
2021-05-26 15:08:01 +09:30
2021-05-26 15:08:01 +09:30
2020-10-23 12:47:47 -05:00
2020-10-23 12:47:47 -05:00
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
2020-09-08 14:55:29 +09:30
2020-09-08 14:55:29 +09:30
2020-09-08 14:55:29 +09:30
2020-09-08 14:55:29 +09:30
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
2021-03-16 13:10:07 +10:30
2021-03-16 13:10:07 +10:30
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
2021-05-26 15:08:01 +09:30
2021-05-26 15:08:01 +09:30
2021-05-26 15:08:01 +09:30
2021-05-26 15:08:01 +09:30
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
2021-01-08 09:19:24 +01:00
2021-01-08 09:19:24 +01:00
2021-01-09 14:34:35 +10:30
2021-01-09 14:34:35 +10:30
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
2021-03-16 13:10:07 +10:30
2021-03-16 13:10:07 +10:30
2021-05-24 20:22:45 +09:30
2021-05-24 20:22:45 +09:30
2020-08-31 21:33:26 -05:00
2020-08-25 12:53:13 +09:30
2015-07-20 14:07:40 +09:30
2015-07-20 14:07:40 +09:30
2021-05-27 20:28:49 +09:30
2021-03-12 12:45:25 +10:30
2021-05-12 11:25:41 +09:30
2020-09-09 20:22:42 +09:30
2021-04-07 14:34:39 +09:30
2021-05-24 20:22:45 +09:30