Remove grandpa liveness oracle (#1271)

* core: support broadcasting consensus message to all peers

* grandpa: remove liveness oracle

* node: always start grandpa on full nodes

* core: don't check for grandpa justifications on failed block imports

* core: fix network connectivity test
This commit is contained in:
André Silva authored and Robert Habermeier committed 2018-12-15 20:39:48 +01:00
1 parent b2ce2f4bd9
commit 45d53ad022
11 files changed
+208 -260

No files matched your search

+2 -5
View File
@@ -578,11 +578,8 @@ macro_rules! construct_service_factory {
) -> Result<Self::FullService, $crate::Error>
{
( $( $full_service_init )* ) (config, executor.clone()).and_then(|service| {
if let Some(key) = (&service).authority_key() {
($( $authority_setup )*)(service, executor, Arc::new(key))
} else {
Ok(service)
}
let key = (&service).authority_key().map(Arc::new);
($( $authority_setup )*)(service, executor, key)
})
}
}