diff --git a/backend/src/aggregator.rs b/backend/src/aggregator.rs index cb0c91e1..29cdc361 100644 --- a/backend/src/aggregator.rs +++ b/backend/src/aggregator.rs @@ -6,7 +6,7 @@ use crate::feed::connector::{FeedConnector, Connected, FeedId}; use crate::util::DenseMap; use crate::feed::{self, FeedMessageSerializer}; use crate::chain::{self, Chain, ChainId, Label, GetNodeNetworkState}; -use crate::types::{NodeDetails, NodeId}; +use crate::types::{ConnId, NodeDetails, NodeId}; pub struct Aggregator { labels: HashMap, @@ -106,8 +106,11 @@ impl Actor for Aggregator { #[derive(Message)] #[rtype(result = "()")] pub struct AddNode { + /// Details of the node being added to the aggregator pub node: NodeDetails, - pub network_id: Option