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

Function first_scid

tests/utils.py:453–454  ·  view source on GitHub ↗
(n1, n2)

Source from the content-addressed store, hash-verified

451
452
453def first_scid(n1, n2):
454 return only_one(n1.rpc.listpeerchannels(n2.info['id'])['channels'])['short_channel_id']
455
456
457def first_scidd(n1, n2):

Callers 15

test_splice_gossipFunction · 0.90
test_htlc_failed_nocloseFunction · 0.90
test_multichan_stressFunction · 0.90
generate_wait_examplesFunction · 0.90
test_gossip_throttleFunction · 0.90
test_reserveFunction · 0.90

Calls 2

only_oneFunction · 0.90
listpeerchannelsMethod · 0.80

Tested by 15

test_splice_gossipFunction · 0.72
test_htlc_failed_nocloseFunction · 0.72
test_multichan_stressFunction · 0.72
test_gossip_throttleFunction · 0.72
test_reserveFunction · 0.72
test_layersFunction · 0.72
test_layer_persistenceFunction · 0.72