summaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 04bdb3c..beac886 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -73,6 +73,8 @@ pub(crate) struct AppState {
pub(crate) change_tx: watch::Sender<u64>,
pub(crate) initial_sync_done: Arc<AtomicBool>,
+ /// The node is shutting down: its keepalives say it isn't ready (`peer::farewell`).
+ pub(crate) stopping: Arc<AtomicBool>,
pub(crate) change_events: broadcast::Sender<Arc<ChangeSet>>,