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

Method __init__

tests/utils.py:489–495  ·  view source on GitHub ↗
(self, enabled=True, htlc_min=0, htlc_max=None, basefee=0, propfee=1, delay=6)

Source from the content-addressed store, hash-verified

487class GenChannel(object):
488 class Half(object):
489 def __init__(self, enabled=True, htlc_min=0, htlc_max=None, basefee=0, propfee=1, delay=6):
490 self.enabled = enabled
491 self.htlc_min = htlc_min
492 self.htlc_max = htlc_max
493 self.basefee = basefee
494 self.propfee = propfee
495 self.delay = delay
496
497 def __init__(self, node1, node2, capacity_sats=1000000, forward=None, reverse=None):
498 """We fill in htlc_max on half to == capacity, if not set"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected