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

Function try_extend_tip

lightningd/chaintopology.c:1123–1129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1121}
1122
1123static void try_extend_tip(struct chain_topology *topo)
1124{
1125 topo->extend_timer = NULL;
1126 trace_span_start("extend_tip", topo);
1127 bitcoind_getrawblockbyheight(topo->request_ctx, topo->bitcoind, topo->tip->height + 1,
1128 get_new_block, topo);
1129}
1130
1131u32 get_block_height(const struct chain_topology *topo)
1132{

Callers 2

get_new_blockFunction · 0.85
begin_topologyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected