| 1588 | } |
| 1589 | |
| 1590 | void 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 | |
| 1604 | void stop_topology(struct chain_topology *topo) |
| 1605 | { |
no test coverage detected