From c7226385f3765b2a72b7b4d95129fb20fec58d5c Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 5 Nov 2026 04:36:58 +0100 Subject: push changes experiment --- src/node.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/node.rs') diff --git a/src/node.rs b/src/node.rs index 5bfce31..155ed85 100644 --- a/src/node.rs +++ b/src/node.rs @@ -44,6 +44,9 @@ pub(crate) struct NodeConfig { /// limit)`. pub(crate) timing: Timing, pub(crate) neighbours_k: usize, + /// Changes along writers' trees as they are, not in sync messages + /// (`AppState::push_changes`). + pub(crate) push_changes: bool, pub(crate) alias: Option, /// `--dashboard-url`. pub(crate) dashboard_url: Option, @@ -119,6 +122,7 @@ impl Node { run_id: uuid::Uuid::new_v4().into_bytes(), handshakes: Default::default(), neighbours_k: config.neighbours_k, + push_changes: config.push_changes, alias: config.alias, dashboard_url: config.dashboard_url, electorate_window: config.electorate_window, -- cgit v1.3.1