node, node-template: disable GRANDPA observer (#5011)

* node-template: disable grandpa observer

* node: disable grandpa observer

* node: add doc about grandpa-voter infallible task

* grandpa: remove grandpa observer from public API

* grandpa: ignore observer_enabled field in config
This commit is contained in:
André Silva
2020-02-21 09:50:42 +00:00
committed by GitHub
parent ab1351c5d9
commit f0043055cc
5 changed files with 72 additions and 72 deletions
@@ -1376,7 +1376,7 @@ fn finalize_3_voters_1_light_observer() {
run_to_completion_with(&mut runtime, 20, net.clone(), authorities, |executor| {
executor.spawn(
run_grandpa_observer(
observer::run_grandpa_observer(
Config {
gossip_duration: TEST_GOSSIP_DURATION,
justification_period: 32,