2020-04-02 15:12:46 +02:00
|
|
|
from pyln.testing.utils import TEST_NETWORK, SLOW_MACHINE, TIMEOUT, VALGRIND, DEVELOPER, DEPRECATED_APIS # noqa: F401
|
2019-10-28 14:19:01 +01:00
|
|
|
from pyln.testing.utils import env, only_one, wait_for, write_config, TailableProc, sync_blockheight, wait_channel_quiescent, get_tx_p2wsh_outnum # noqa: F401
|
2017-01-14 20:32:08 +01:00
|
|
|
|
2018-07-16 07:52:56 +02:00
|
|
|
|
2019-10-27 19:08:30 +01:00
|
|
|
EXPERIMENTAL_FEATURES = env("EXPERIMENTAL_FEATURES", "0") == "1"
|
2019-10-27 15:26:46 +01:00
|
|
|
COMPAT = env("COMPAT", "1") == "1"
|
2019-11-14 04:34:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
def expected_features():
|
|
|
|
"""Return the expected features hexstring for this configuration"""
|
2019-12-12 11:57:07 +01:00
|
|
|
# features 1, 3, 7, 9, 11, 13, 15 and 17 (0x02aaa2).
|
|
|
|
return "02aaa2"
|