Support synching of blocks that are not new_best (#6508)

* Start

* Remove debug println

* Add tests
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-06-30 14:44:52 +00:00
1 parent 4fd770dcf9
commit 53be6ec510
9 files changed
+172 -53

No files matched your search

+1 -1
View File
@@ -1426,7 +1426,7 @@ fn build_network<TBl, TExPool, TImpQu, TCl>(
let block_announce_validator = if let Some(f) = block_announce_validator_builder {
f(client.clone())
} else {
Box::new(DefaultBlockAnnounceValidator::new(client.clone()))
Box::new(DefaultBlockAnnounceValidator)
};
let network_params = sc_network::config::Params {