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

Function try_extend_tip

lightningd/chaintopology.c:828–835  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826}
827
828static void try_extend_tip(struct chain_topology *topo)
829{
830 topo->extend_timer = NULL;
831 if (topo->stopping)
832 return;
833 bitcoind_getrawblockbyheight(topo->bitcoind, topo->tip->height + 1,
834 get_new_block, topo);
835}
836
837static void init_topo(struct bitcoind *bitcoind UNUSED,
838 struct bitcoin_blkid *blkid UNUSED,

Callers 2

get_new_blockFunction · 0.85
begin_topologyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected