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

Function notify_block_added

tests/plugins/block_added.py:12–13  ·  view source on GitHub ↗
(plugin, block_added, **kwargs)

Source from the content-addressed store, hash-verified

10
11@plugin.subscribe("block_added")
12def notify_block_added(plugin, block_added, **kwargs):
13 blocks_catched.append(block_added["height"])
14
15
16@plugin.method("blockscatched")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected