mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
options: create enable/disable option for peer storage.
Since it's not spec-final yet (hell, it's not even properly specified yet!) we need to put it behind an experimental flag. Unfortunately, we don't have support for doing this in a plugin; a plugin must present features before parsing options. So we need to do it in core. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Alex Myers
parent
c60ea5bcbb
commit
a71bd3ea37
@@ -2510,8 +2510,11 @@ def test_restorefrompeer(node_factory, bitcoind):
|
||||
"""
|
||||
Test restorefrompeer
|
||||
"""
|
||||
l1, l2 = node_factory.get_nodes(2, opts=[{'allow_broken_log': True, 'may_reconnect': True},
|
||||
{'may_reconnect': True}])
|
||||
l1, l2 = node_factory.get_nodes(2, [{'allow_broken_log': True,
|
||||
'experimental-peer-storage': None,
|
||||
'may_reconnect': True},
|
||||
{'experimental-peer-storage': None,
|
||||
'may_reconnect': True}])
|
||||
|
||||
l1.rpc.connect(l2.info['id'], 'localhost', l2.port)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user