SelectChain implementation for relay chains (#3341)

* stubbed SelectRelayChain

* disconnected overseer handlers

* add is_disconnected

* add fallback in case overseer is disconnected

* fall back on fallback

* fetch leaves by calling into chain-selection subsystem

* implement best_chain

* mostly implement finality_target

* chain constrain

* metrics and maximum safeguard

* remove review comment after review
This commit is contained in:
Robert Habermeier
2021-06-23 00:41:54 +01:00
committed by GitHub
parent 6b408d1e38
commit b57b9cf7dc
6 changed files with 408 additions and 6 deletions
+1
View File
@@ -21,6 +21,7 @@
pub mod chain_spec;
mod grandpa_support;
mod parachains_db;
mod relay_chain_selection;
#[cfg(feature = "full-node")]
mod overseer;