Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs, log levels #797

Merged
merged 17 commits into from
Aug 8, 2024
Prev Previous commit
Next Next commit
mesh logs
volovyks committed Aug 5, 2024
commit 7de369d9487f2c13ea5cd9f10e89ff46d4a184a6
4 changes: 4 additions & 0 deletions chain-signatures/node/src/mesh/connection.rs
Original file line number Diff line number Diff line change
@@ -151,6 +151,10 @@ impl Pool {

async fn set_potential_participants(&self, participants: &Participants) {
*self.potential_connections.write().await = participants.clone();
tracing::debug!(
"Pool set potential participants to {:?}",
self.potential_connections.read().await.keys_vec()
);
}
volovyks marked this conversation as resolved.
Show resolved Hide resolved

pub async fn potential_participants(&self) -> Participants {
1 change: 1 addition & 0 deletions chain-signatures/node/src/mesh/mod.rs
Original file line number Diff line number Diff line change
@@ -57,6 +57,7 @@ impl Mesh {
stable.insert(participant, info.clone());
}
}
tracing::info!(?stable, "stable participants");
volovyks marked this conversation as resolved.
Show resolved Hide resolved
stable
}