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

Function channel_get_config

tests/test_pay.py:2080–2083  ·  view source on GitHub ↗
(scid)

Source from the content-addressed store, hash-verified

2078 l1.rpc.connect(l3.info['id'], 'localhost', l3.port)
2079
2080 def channel_get_config(scid):
2081 return l1.db.query(
2082 'SELECT feerate_base, feerate_ppm, htlc_minimum_msat, htlc_maximum_msat FROM channels '
2083 'WHERE scid={};'.format(scid_to_int(scid)))
2084
2085 # get short channel id
2086 scid = l1.get_channel_scid(l2)

Callers 1

test_setchannel_usageFunction · 0.85

Calls 2

scid_to_intFunction · 0.90
queryMethod · 0.45

Tested by

no test coverage detected