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

Function get_network_blockheight

lightningd/chaintopology.c:1151–1157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1149}
1150
1151u32 get_network_blockheight(const struct chain_topology *topo)
1152{
1153 if (topo->tip->height > topo->headercount)
1154 return topo->tip->height;
1155 else
1156 return topo->headercount;
1157}
1158
1159u32 feerate_min(struct lightningd *ld, bool *unknown)
1160{

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