MCPcopy 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
854u32 get_block_height(const struct chain_topology *topo)
855{
856 return topo->tip->height;
857}
858
859u32 get_network_blockheight(const struct chain_topology *topo)
860{

Callers 15

wallet_commit_channelFunction · 0.70
accepter_got_offerFunction · 0.70
json_openchannel_initFunction · 0.70
json_queryratesFunction · 0.70
closeinfo_txid_confirmedFunction · 0.70
json_waitblockheightFunction · 0.70
onchain_tx_watchedFunction · 0.70
json_closeFunction · 0.70
send_onionFunction · 0.70
send_paymentFunction · 0.70
gossip_topology_syncedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected