diff --git a/src/runtime2/inbox2.rs b/src/runtime2/inbox2.rs index 9c4ad0a7b3d9ab9ca18e0e6c086615366e592264..028cd41ff27205289250e30341fb4b44d8502201 100644 --- a/src/runtime2/inbox2.rs +++ b/src/runtime2/inbox2.rs @@ -1,7 +1,7 @@ use crate::protocol::eval::ValueGroup; use crate::runtime2::branch::BranchId; use crate::runtime2::ConnectorId; -use crate::runtime2::consensus::LocalSolution; +use crate::runtime2::consensus::{GlobalSolution, LocalSolution}; use crate::runtime2::port::PortIdLocal; // TODO: Remove Debug derive from all types @@ -41,7 +41,8 @@ pub(crate) struct DataMessageFancy { #[derive(Debug)] pub(crate) enum SyncContent { LocalSolution(LocalSolution), // sending a local solution to the leader - Notification, // just a notification (so message is about sending the SyncHeader) + GlobalSolution(GlobalSolution), // broadcasting to everyone + Notification, // just a notification (so purpose of message is to send the SyncHeader) } /// A sync message is a message that is intended only for the consensus