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

Function maybe_completed_init

lightningd/chaintopology.c:35–43  ·  view source on GitHub ↗

init_topo sets topo->root, start_fee_estimate clears * feerate_uninitialized (even if unsuccessful) */

Source from the content-addressed store, hash-verified

33/* init_topo sets topo->root, start_fee_estimate clears
34 * feerate_uninitialized (even if unsuccessful) */
35static void maybe_completed_init(struct chain_topology *topo)
36{
37 if (topo->feerate_uninitialized)
38 return;
39 if (!topo->root)
40 return;
41 log_debug(topo->ld->log, "io_break: %s", __func__);
42 io_break(topo);
43}
44
45static void next_topology_timer(struct chain_topology *topo)
46{

Callers 2

update_feeratesFunction · 0.85
init_topoFunction · 0.85

Calls 1

io_breakFunction · 0.85

Tested by

no test coverage detected