MCPcopy 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
83def _key(h: dict) -> str:
84 return f"{h.get('id', '?')}:{h.get('payment_hash', '?')}"
85
86
87def _ensure_zero_conf_channel(peer_id: str, capacity: int) -> bool:

Callers 1

on_htlc_acceptedFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected