[][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.

Enums

Call
Event

Events for this module.

Signal

Consensus log type of this module.

Traits

Trait

Type Definitions

AuthorityId

Identity of a Grandpa authority.

AuthorityWeight

The weight of an authority.