Home
last modified time | relevance | path

Searched refs:GossmapNode (Results 1 – 3 of 3) sorted by relevance

/dports/net-p2p/c-lightning/lightning-0.10.2/contrib/pyln-client/tests/
H A Dtest_gossmap.py1 from pyln.client import Gossmap, GossmapNode, GossmapNodeId
116 boltz_node = GossmapNode(boltz_id)
117 acinq_node = GossmapNode(acinq_id)
118 assert boltz_node == GossmapNode(boltz)
/dports/net-p2p/c-lightning/lightning-0.10.2/contrib/pyln-client/pyln/client/
H A Dgossmap.py138 class GossmapNode(object): class
155 if not isinstance(other, GossmapNode):
160 if not isinstance(other, GossmapNode):
171 self.nodes: Dict[GossmapNodeId, GossmapNode] = {}
184 node1: GossmapNode, argument
185 node2: GossmapNode, argument
212 self.nodes[node1_id] = GossmapNode(node1_id)
214 self.nodes[node2_id] = GossmapNode(node2_id)
H A D__init__.py3 from .gossmap import Gossmap, GossmapNode, GossmapChannel, GossmapNodeId