mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Calculate timeouts
This commit is contained in:
@@ -48,6 +48,9 @@ pub trait Network: Send + Sync {
|
||||
type Weights: Weights<ValidatorId = Self::ValidatorId>;
|
||||
type Block: Block;
|
||||
|
||||
// Block time in seconds
|
||||
const BLOCK_TIME: u32;
|
||||
|
||||
fn weights(&self) -> Arc<Self::Weights>;
|
||||
|
||||
async fn broadcast(&mut self, msg: Message<Self::ValidatorId, Self::Block>);
|
||||
|
||||
Reference in New Issue
Block a user