MCPcopy Create free account
hub / github.com/ElementsProject/lightning / test_gossip_store_load_complex

Function test_gossip_store_load_complex

tests/test_gossip.py:1638–1644  ·  view source on GitHub ↗
(node_factory, bitcoind)

Source from the content-addressed store, hash-verified

1636
1637
1638def test_gossip_store_load_complex(node_factory, bitcoind):
1639 l2 = setup_gossip_store_test(node_factory, bitcoind)
1640
1641 l2.rpc.call('dev-compact-gossip-store')
1642 l2.restart()
1643
1644 wait_for(lambda: l2.daemon.is_in_log('gossip_store: 9 live records, 0 deleted'))
1645
1646
1647def test_gossip_store_compact(node_factory, bitcoind):

Callers

nothing calls this directly

Calls 5

wait_forFunction · 0.90
setup_gossip_store_testFunction · 0.85
restartMethod · 0.80
is_in_logMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected