Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ to_string
Method
to_string
cln-rpc/src/primitives.rs:141–143 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
139
}
140
impl ToString for ShortChannelId {
141
fn to_string(&self) -> String {
142
format!(
"{}x{}x{}"
, self.block(), self.txindex(), self.outnum())
143
}
144
}
145
impl ShortChannelId {
146
pub fn block(&self) -> u32 {
Callers
15
getinfo
Method · 0.80
list_peers
Method · 0.80
list_funds
Method · 0.80
send_pay
Method · 0.80
list_channels
Method · 0.80
add_gossip
Method · 0.80
auto_clean_invoice
Method · 0.80
check_message
Method · 0.80
close
Method · 0.80
connect_peer
Method · 0.80
create_invoice
Method · 0.80
datastore
Method · 0.80
Calls
no outgoing calls
Tested by
1
test_keysend
Function · 0.64