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

Function get_network_blockheight

lightningd/chaintopology.c:1136–1142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1134}
1135
1136u32 get_network_blockheight(const struct chain_topology *topo)
1137{
1138 if (topo->tip->height > topo->headercount)
1139 return topo->tip->height;
1140 else
1141 return topo->headercount;
1142}
1143
1144u32 feerate_min(struct lightningd *ld, bool *unknown)
1145{

Callers 8

json_openchannel_bumpFunction · 0.70
json_openchannel_initFunction · 0.70
send_onionFunction · 0.70
send_paymentFunction · 0.70
wallet_commit_channelFunction · 0.70
json_fundchannel_startFunction · 0.70
stub_chanFunction · 0.70
send_htlc_outFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected