Fix multi collator setup (#133)

* Start

* Fix compilation

* Fix chainspec

* Don't set best 2 times for the same block

* Check the status of a block before building on it

* Check that the block exists before setting it as the new best

* Reorder code

* Fork choice depends on sync status

* Switch branch again
This commit is contained in:
Bastian Köcher
2020-07-02 12:50:04 +02:00
committed by GitHub
parent 6a6fec66fb
commit 82db23f2ed
8 changed files with 519 additions and 279 deletions
+1
View File
@@ -123,6 +123,7 @@ pub fn run_collator(
proposer_factory,
inherent_data_providers,
block_import,
client.clone(),
id,
client,
announce_block,