rgb-cln/tests
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
..
data inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
fuzz common/bech32: update to bech32m reference. 2021-06-11 13:54:20 +09:30
plugins pytest: don't use command_success_str in test_libplugin.c 2021-05-27 20:28:49 +09:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py tests: add marker for v1/v2 channel opens 2021-05-12 11:25:41 +09:30
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: add schema support for JSON responses. 2021-05-27 20:28:49 +09:30
test_closing.py topology: plugin to implement getroute command. 2021-06-16 10:29:17 +09:30
test_connection.py pytest: test that both sides refuse upgrade if not quiescent. 2021-06-04 16:13:08 +09:30
test_db.py inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
test_gossip.py common: Check chain hash in gossip_timestamp_filter 2021-05-26 10:43:50 +09:30
test_invoices.py invoice: overhaul routehints to use topology.listincoming, cleanup. 2021-06-16 10:29:17 +09:30
test_misc.py pytest: fix flake in test_misc.py::test_funding_reorg_* xxremote_lags 2021-06-15 06:36:36 +09:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_opening.py pytest: speed up test_opening.py::test_funder_contribution_limits when !DEVELOPER 2021-06-05 09:47:50 +09:30
test_pay.py pay: Skip the presplitter mod if it'd exhaust our HTLC budget 2021-06-03 16:59:53 +09:30
test_plugin.py plugin: Add a status field to htlcs in listpeers 2021-06-05 17:47:32 +09:30
test_wallet.py tests: test future segwit versions for withdraw / close. 2021-06-11 13:54:20 +09:30
utils.py lightningd: option_shutdown_anysegwit is no longer experimental. 2021-05-26 20:01:03 +09:30