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

Method block

cln-rpc/src/primitives.rs:266–268  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

264}
265impl ShortChannelId {
266 pub fn block(&self) -> u32 {
267 (self.0 >> 40) as u32 & 0xFFFFFF
268 }
269 pub fn txindex(&self) -> u32 {
270 (self.0 >> 16) as u32 & 0xFFFFFF
271 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected