* Store a `SyncStatus` handle in the `Crawler` The helper type will make it easier to determine if the crawler is enabled or not. * Pause crawler if mempool is disabled Implement waiting until the mempool becomes enabled, so that the crawler does not run while the mempool is disabled. If the `MempoolStatus` helper is unable to determine if the mempool is enabled, stop the crawler task entirely. * Update test to consider when crawler is paused Change the mempool crawler test so that it's a proptest that tests different chain sync. lengths. This leads to different scenarios with the crawler pausing and resuming. Co-authored-by: teor <teor@riseup.net> |
||
|---|---|---|
| .. | ||
| bin/zebrad | ||
| commands | ||
| components | ||
| application.rs | ||
| commands.rs | ||
| components.rs | ||
| config.rs | ||
| lib.rs | ||
| prelude.rs | ||
| sentry.rs | ||