| 2497 | @pytest.mark.openchannel('v1') |
| 2498 | @pytest.mark.openchannel('v2') |
| 2499 | def test_list_features_only(node_factory): |
| 2500 | features = subprocess.check_output(['lightningd/lightningd', |
| 2501 | '--list-features-only']).decode('utf-8').splitlines() |
| 2502 | expected = ['option_data_loss_protect/even', |
| 2503 | 'option_upfront_shutdown_script/odd', |
| 2504 | 'option_gossip_queries/odd', |
| 2505 | 'option_var_onion_optin/even', |
| 2506 | 'option_gossip_queries_ex/odd', |
| 2507 | 'option_static_remotekey/even', |
| 2508 | 'option_payment_secret/even', |
| 2509 | 'option_basic_mpp/odd', |
| 2510 | 'option_support_large_channel/odd', |
| 2511 | 'option_anchors/odd', |
| 2512 | 'option_route_blinding/odd', |
| 2513 | 'option_shutdown_anysegwit/odd', |
| 2514 | 'option_quiesce/odd', |
| 2515 | 'option_onion_messages/odd', |
| 2516 | 'option_provide_storage/odd', |
| 2517 | 'option_channel_type/even', |
| 2518 | 'option_scid_alias/odd', |
| 2519 | 'option_zeroconf/odd', |
| 2520 | 'option_splice/odd'] |
| 2521 | expected += ['supports_open_accept_channel_type'] |
| 2522 | |
| 2523 | assert features == expected |
| 2524 | |
| 2525 | |
| 2526 | def test_relative_config_dir(node_factory): |