GRANDPA finality proof draft (#1268)

* grandpa finality proof

* prove GrandpaApi::grandpa_authorities using parent block + some docs

* create justification when consensus data is changed

* generate justifications periodically

* test for ConsensusChanges
This commit is contained in:
Svyatoslav Nikolsky authored and Gav Wood committed 2019-01-11 19:25:03 +01:00
1 parent 677b79765b
commit 616716cb4b
18 files changed
+786 -113

No files matched your search

+1
View File
@@ -100,6 +100,7 @@ construct_service_factory! {
grandpa::Config {
local_key,
gossip_duration: Duration::new(4, 0), // FIXME: make this available through chainspec?
justification_period: 4096,
name: Some(service.config.name.clone())
},
link_half,