mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 01:11:04 +00:00
a79c34778c
* babe: fix report_equivocation weight * node: bump spec_version * babe: fix floor in report_equivocation weight calculation Co-authored-by: Gavin Wood <gavin@parity.io> * grandpa: fix floor in report_equivocation weight calculation * babe, grandpa: add test for weight_for::report_equivocation Co-authored-by: Gavin Wood <gavin@parity.io>
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.
License: Apache-2.0