[][src]Crate srml_grandpa

GRANDPA Consensus module for runtime.

This manages the GRANDPA authority set ready for the native code. These authorities are only for GRANDPA finality, not for consensus overall.

In the future, it will also handle misbehavior reports, and on-chain finality notifications.

For full integration with GRANDPA, the GrandpaApi should be implemented. The necessary items are re-exported via the fg_primitives crate.

Re-exports

pub use substrate_finality_grandpa_primitives as fg_primitives;

Structs

GenesisConfig
Module
OldStoredPendingChange

A stored pending change, old format.

StoredPendingChange

A stored pending change.

SyncedAuthorities

Helper for authorities being synchronized with the general session authorities.

Enums

Call
RawEvent

Events for this module.

RawLog

A logs in this module.

Traits

GrandpaChangeSignal

Logs which can be scanned by GRANDPA for authorities change events.

Trait

Type Definitions

Event

RawEvent specialized for the configuration Trait

Log

The log type of this crate, projected from module trait type.