Registry / networking / sc-finality-grandpa

sc-finality-grandpa

JSON →
library0.24.0rscratesunverified

Integration of the GRANDPA finality gadget into Substrate.

# Cargo.toml [dependencies] sc-finality-grandpa = "0.24.0"
INSTALL
IMPORT
SIG · SC-FINALITY-GRANDP
S
sc-finality-grandpa
networkingrustv0.24.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GrandpaParams
use sc_finality_grandpa::GrandpaParams;

Configure GRANDPA finality gadget parameters.

use sc_finality_grandpa::GrandpaParams; fn main() { let params = GrandpaParams::default(); println!("GRANDPA params initialized"); }
Debug
Known issues
gotchaRequires Substrate runtime environment.
fix
Ensure you are building within a Substrate node context.
affects: >=0.24.0
Upgrade
Version history
0.24.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
sc-finality-grandpa — cargo add sc-finality-grandpa · libregistry