Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ get_block_height
Function
get_block_height
lightningd/chaintopology.c:854–857 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
852
}
853
854
u32 get_block_height(const struct chain_topology *topo)
855
{
856
return topo->tip->height;
857
}
858
859
u32 get_network_blockheight(const struct chain_topology *topo)
860
{
Callers
15
wallet_commit_channel
Function · 0.70
accepter_got_offer
Function · 0.70
json_openchannel_init
Function · 0.70
json_queryrates
Function · 0.70
closeinfo_txid_confirmed
Function · 0.70
json_waitblockheight
Function · 0.70
onchain_tx_watched
Function · 0.70
json_close
Function · 0.70
send_onion
Function · 0.70
send_payment
Function · 0.70
gossip_topology_synced
Function · 0.70
failmsg_incorrect_or_unknown_
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected