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

Function begin_topology

lightningd/chaintopology.c:1590–1602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1588}
1589
1590void begin_topology(struct chain_topology *topo)
1591{
1592 /* If we were not synced, start looping to check */
1593 if (!topo->bitcoind->synced)
1594 retry_sync(topo);
1595 /* Regular feerate updates */
1596 start_fee_estimate(topo);
1597 /* Regular block updates */
1598 try_extend_tip(topo);
1599
1600 if (topo->old_block_scan)
1601 fixup_scan(topo);
1602}
1603
1604void stop_topology(struct chain_topology *topo)
1605{

Callers 1

mainFunction · 0.70

Calls 4

retry_syncFunction · 0.85
start_fee_estimateFunction · 0.85
try_extend_tipFunction · 0.85
fixup_scanFunction · 0.85

Tested by

no test coverage detected