Complete serai-coordinator-p2p

This commit is contained in:
Luke Parker
2025-01-09 06:23:14 -05:00
parent 201a444e89
commit b101e2211a
9 changed files with 156 additions and 77 deletions

View File

@@ -19,7 +19,7 @@ use serai_client::{
Serai,
};
use tokio::sync::{mpsc, Mutex, RwLock};
use tokio::sync::{mpsc, oneshot, Mutex, RwLock};
use serai_task::{Task, ContinuallyRan};
@@ -35,7 +35,7 @@ use libp2p::{
SwarmBuilder,
};
use serai_coordinator_p2p::{oneshot, Heartbeat, TributaryBlockWithCommit};
use serai_coordinator_p2p::{Heartbeat, TributaryBlockWithCommit};
/// A struct to sync the validators from the Serai node in order to keep track of them.
mod validators;