Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ _key
Function
_key
tests/plugins/lsps2_service_mock.py:83–84 ·
view source on GitHub ↗
(h: dict)
Source
from the content-addressed store, hash-verified
81
82
83
def
_key(h: dict) -> str:
84
return
f
"{h.get('id', '?')}:{h.get('payment_hash', '?')}"
85
86
87
def
_ensure_zero_conf_channel(peer_id: str, capacity: int) -> bool:
Callers
1
on_htlc_accepted
Function · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected