pub trait CompatibleDigestItem<P: Pair>: Sized {
    fn aura_seal(signature: <P as Pair>::Signature) -> Self;
fn as_aura_seal(&self) -> Option<<P as Pair>::Signature>;
fn aura_pre_digest(slot: Slot) -> Self;
fn as_aura_pre_digest(&self) -> Option<Slot>; }
Expand description

A digest item which is usable with aura consensus.

Required methods

Construct a digest item which contains a signature on the hash.

If this item is an Aura seal, return the signature.

Construct a digest item which contains the slot number

If this item is an AuRa pre-digest, return the slot number

Implementations on Foreign Types

Implementors