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

Function test_rust_plugin_subscribe_wildcard

tests/test_cln_rs.py:571–580  ·  view source on GitHub ↗

Creates a plugin that loads the subscribe_wildcard plugin

(node_factory)

Source from the content-addressed store, hash-verified

569
570
571def test_rust_plugin_subscribe_wildcard(node_factory):
572 """ Creates a plugin that loads the subscribe_wildcard plugin
573 """
574 bin_path = Path.cwd() / "target" / RUST_PROFILE / "examples" / "cln-subscribe-wildcard"
575 l1 = node_factory.get_node(options={"plugin": bin_path})
576 l2 = node_factory.get_node()
577
578 l2.connect(l1)
579
580 l1.daemon.wait_for_log("Received notification connect")
581
582
583def test_grpc_block_added_notifications(node_factory, bitcoind):

Callers

nothing calls this directly

Calls 3

wait_for_logMethod · 0.80
get_nodeMethod · 0.45
connectMethod · 0.45

Tested by

no test coverage detected