Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ first_scid
Function
first_scid
tests/utils.py:415–416 ·
view source on GitHub ↗
(n1, n2)
Source
from the content-addressed store, hash-verified
413
414
415
def
first_scid(n1, n2):
416
return
only_one(only_one(n1.rpc.listpeers(n2.info[
'id'
])[
'peers'
])[
'channels'
])[
'short_channel_id'
]
417
418
419
def
basic_fee(feerate):
Callers
14
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_upgrade_statickey_onchaind
Function · 0.90
test_upgrade_statickey_fail
Function · 0.90
test_htlc_failed_noclose
Function · 0.90
test_sendpay
Function · 0.90
test_onchaind_replay
Function · 0.90
test_onchain_dust_out
Function · 0.90
test_onchain_timeout
Function · 0.90
Calls
2
only_one
Function · 0.90
listpeers
Method · 0.45
Tested by
14
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_upgrade_statickey_onchaind
Function · 0.72
test_upgrade_statickey_fail
Function · 0.72
test_htlc_failed_noclose
Function · 0.72
test_sendpay
Function · 0.72
test_onchaind_replay
Function · 0.72
test_onchain_dust_out
Function · 0.72
test_onchain_timeout
Function · 0.72