Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ getblock
Function
getblock
tests/plugins/bitcoin/part1.py:21–23 ·
view source on GitHub ↗
(plugin, **kwargs)
Source
from the content-addressed store, hash-verified
19
20
@plugin.method(
"getrawblockbyheight"
)
21
def
getblock(plugin, **kwargs):
22
time.sleep(1)
23
return
{}
24
25
26
@plugin.method(
"getchaininfo"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected