Remove indirection in initial sync completion
authorMatt Corallo <git@bluematt.me>
Mon, 22 Aug 2022 03:37:49 +0000 (03:37 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Aug 2022 00:23:13 +0000 (00:23 +0000)
commit944a2409f823c4bd196493259df43904d26c7478
treef5ad32207dec2b688278a50069e8d812d460048d
parentb7a5243ce8e5e18bd14cb180c8a19cf1af95c9fe
Remove indirection in initial sync completion

Rather than sending a GossipMessage::InitialSyncComplete, which
causes the persistence logic to push to another queue to wake the
snapshoter, we can simply wake the snapshoter directly.
src/lib.rs
src/persistence.rs
src/tracking.rs
src/types.rs