Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
453
def
first_scid(n1, n2):
454
return
only_one(n1.rpc.listpeerchannels(n2.info[
'id'
])[
'channels'
])[
'short_channel_id'
]
455
456
457
def
first_scidd(n1, n2):
Callers
15
test_splice_gossip
Function · 0.90
test_reconnect_sender_add1
Function · 0.90
test_reconnect_sender_add
Function · 0.90
test_reconnect_receiver_add
Function · 0.90
test_reconnect_receiver_fulfill
Function · 0.90
test_htlc_retransmit_order
Function · 0.90
test_htlc_failed_noclose
Function · 0.90
test_multichan_stress
Function · 0.90
generate_transactions_examples
Function · 0.90
generate_wait_examples
Function · 0.90
test_gossip_throttle
Function · 0.90
test_reserve
Function · 0.90
Calls
2
only_one
Function · 0.90
listpeerchannels
Method · 0.80
Tested by
15
test_splice_gossip
Function · 0.72
test_reconnect_sender_add1
Function · 0.72
test_reconnect_sender_add
Function · 0.72
test_reconnect_receiver_add
Function · 0.72
test_reconnect_receiver_fulfill
Function · 0.72
test_htlc_retransmit_order
Function · 0.72
test_htlc_failed_noclose
Function · 0.72
test_multichan_stress
Function · 0.72
test_gossip_throttle
Function · 0.72
test_reserve
Function · 0.72
test_layers
Function · 0.72
test_layer_persistence
Function · 0.72