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:1131–1134 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1129
}
1130
1131
u32 get_block_height(const struct chain_topology *topo)
1132
{
1133
return topo->tip->height;
1134
}
1135
1136
u32 get_network_blockheight(const struct chain_topology *topo)
1137
{
Callers
15
has_announce_depth
Function · 0.70
wallet_commit_channel
Function · 0.70
accepter_got_offer
Function · 0.70
json_openchannel_bump
Function · 0.70
openchannel_init
Function · 0.70
json_openchannel_init
Function · 0.70
json_queryrates
Function · 0.70
rebroadcast_txs
Function · 0.70
broadcast_tx_
Function · 0.70
closeinfo_txid_confirmed
Function · 0.70
feerate_for_target
Function · 0.70
default_locktime
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected