[][src]Trait hbbft::Epoched

pub trait Epoched {
    type Epoch: EpochT;
    fn epoch(&self) -> Self::Epoch;
}

An interface to objects with epoch numbers. Different algorithms may have different internal notion of epoch. This interface summarizes the properties that are essential for the message sender queue.

Associated Types

type Epoch: EpochT

Type of epoch.

Loading content...

Required methods

fn epoch(&self) -> Self::Epoch

Returns the object's epoch number.

Loading content...

Implementors

impl<C, N> Epoched for DynamicHoneyBadger<C, N> where
    C: Contribution + Serialize + DeserializeOwned,
    N: NodeIdT + Serialize + DeserializeOwned
[src]

type Epoch = (u64, u64)

impl<C, N> Epoched for HoneyBadger<C, N> where
    C: Contribution + Serialize + DeserializeOwned,
    N: NodeIdT
[src]

type Epoch = u64

impl<T, N, Q> Epoched for QueueingHoneyBadger<T, N, Q> where
    T: Contribution + Serialize + DeserializeOwned + Clone,
    N: NodeIdT + Serialize + DeserializeOwned,
    Q: TransactionQueue<T>,
    Standard: Distribution<N>, 
[src]

type Epoch = (u64, u64)

Loading content...