MCPcopy 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
1131u32 get_block_height(const struct chain_topology *topo)
1132{
1133 return topo->tip->height;
1134}
1135
1136u32 get_network_blockheight(const struct chain_topology *topo)
1137{

Callers 15

has_announce_depthFunction · 0.70
wallet_commit_channelFunction · 0.70
accepter_got_offerFunction · 0.70
json_openchannel_bumpFunction · 0.70
openchannel_initFunction · 0.70
json_openchannel_initFunction · 0.70
json_queryratesFunction · 0.70
rebroadcast_txsFunction · 0.70
broadcast_tx_Function · 0.70
closeinfo_txid_confirmedFunction · 0.70
feerate_for_targetFunction · 0.70
default_locktimeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected