[−][src]Trait hbbft::sender_queue::SenderQueueableMessage
A message type that is suitable for use with a sender queue.
Associated Types
type Epoch: EpochT
The epoch type of the wrapped algorithm.
Required methods
fn is_premature(&self, them: Self::Epoch, max_future_epochs: u64) -> bool
Whether the message needs to be deferred.
fn is_obsolete(&self, them: Self::Epoch) -> bool
Whether the epoch of the message is behind them
.
fn first_epoch(&self) -> Self::Epoch
Returns the earliest epoch in which this message can be handled.
Provided methods
fn is_accepted(&self, them: Self::Epoch, max_future_epochs: u64) -> bool
Whether the message is neither obsolete nor premature.