Reschedule at the configured interval (used when there's nothing new to * fetch, or on error). Once we're caught up to bitcoind's tip, this is * what governs the steady-state poll cadence. */
| 70 | * fetch, or on error). Once we're caught up to bitcoind's tip, this is |
| 71 | * what governs the steady-state poll cadence. */ |
| 72 | static struct command_result *poll_finished(struct command *cmd) |
| 73 | { |
| 74 | struct bwatch *bwatch = bwatch_of(cmd->plugin); |
| 75 | |
| 76 | bwatch->poll_timer = global_timer(cmd->plugin, |
| 77 | time_from_msec(bwatch->poll_interval_ms), |
| 78 | bwatch_poll_chain, NULL); |
| 79 | return timer_complete(cmd); |
| 80 | } |
| 81 | |
| 82 | /* Send watch_revert for every owner affected by losing @removed_height. */ |
| 83 | static void bwatch_notify_reorg_watches(struct command *cmd, |
no test coverage detected