aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index c3bb4e8..fe71b7b 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -244,6 +244,9 @@ pub(crate) struct AppState {
/// Something a joining node waits for may have happened: the swarm ID learned, the
/// initial sync done, a rejoin ended, a seed found (`swarm::bootstrap`).
pub(crate) join_progress: Arc<tokio::sync::Notify>,
+ /// A peer said another epoch than this node's (`swarm::peer::epoch`): the remake
+ /// worker looks whether to follow it (`remake::switch`).
+ pub(crate) remake_wake: Arc<tokio::sync::Notify>,
/// The forget records may have changed (`swarm::changes`): the peer worker acts on
/// them at once instead of at its next periodic check.
pub(crate) forget_records_changed: Arc<AtomicBool>,