Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ first_scidd
Function
first_scidd
tests/utils.py:457–459 ·
view source on GitHub ↗
(n1, n2)
Source
from the content-addressed store, hash-verified
455
456
457
def
first_scidd(n1, n2):
458
c = only_one(n1.rpc.listpeerchannels(n2.info[
'id'
])[
'channels'
])
459
return
c[
'short_channel_id'
] +
'/'
+ str(c[
'direction'
])
460
461
462
def
basic_fee(feerate, anchor_expected):
Callers
4
test_splice_dying_channel
Function · 0.90
test_xpay_shadow_cltv
Function · 0.90
test_xpay_error_update_wrong_channel
Function · 0.90
test_error_messages
Function · 0.90
Calls
2
only_one
Function · 0.90
listpeerchannels
Method · 0.80
Tested by
4
test_splice_dying_channel
Function · 0.72
test_xpay_shadow_cltv
Function · 0.72
test_xpay_error_update_wrong_channel
Function · 0.72
test_error_messages
Function · 0.72