Commit Graph

24 Commits

Author SHA1 Message Date
Bastian Köcher 2efe482c40 Add cumulus-service (#187)
* Add cumulus-service

Crate that abstracts the service of a parachain.

* Make finalization infallible
2020-08-08 08:07:33 +02:00
Bastian Köcher dd7c741b53 Announce block after it is being enacted as new best block (#182) 2020-08-06 20:37:36 +02:00
Cecile Tonglet d1d40765c7 Collate only if --validator is given (#161) 2020-07-29 20:49:31 +02:00
Bastian Köcher 6ca066c893 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
2020-07-02 12:50:04 +02:00
Bastian Köcher 5f008af15f Update Substrate & Polkadot (#84) 2020-04-29 14:23:18 +02:00
Cecile Tonglet 28687351df Update polkadot and substrate (#71) 2020-03-11 17:45:44 +01:00
Bastian Köcher 14fc05171e Don't finalize the same block multiple times
This fixes the `Safety violation:...` logging.
2020-01-15 16:59:23 +01:00
Bastian Köcher 828447d49c Make everything compile and fix tests 2020-01-14 22:23:16 +01:00
thiolliere bbe889e9c3 Fix inconsistent head_data (#18)
* fix

* Update consensus/src/lib.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
2019-10-22 15:26:35 +02:00
Bastian Köcher b5bc9a21a3 Make basic collation working 2019-10-18 14:16:32 +02:00
Bastian Köcher d9c6bc408c Begin to add a test parachain 2019-10-16 13:39:38 +02:00
Bastian Köcher 398e3489ed Provide SelectChain implementation for parachains 2019-10-08 14:38:27 +02:00
Bastian Köcher e91c8e78f2 Make everything compile again 2019-10-02 16:52:08 +02:00
Bastian Köcher 1ceecff053 Try to fix the build 2019-09-29 02:05:49 +02:00
Bastian Köcher 2d92c9acb3 Update Substrate, Polkadot and switch to wasm-builder 2019-06-18 08:43:39 +02:00
Bastian Köcher 7acbc36a7e Update to latest Substrate + Polkadot 2019-06-05 20:38:26 +02:00
Bastian Köcher 79a7868c6c Make the tests pass 2019-03-07 10:56:00 +01:00
Robert Habermeier e8c5c1ead4 implement mark_best using set_head 2019-02-18 17:33:22 -03:00
Robert Habermeier 303a1c37f9 implement parachain_key 2019-02-01 20:45:30 -03:00
Robert Habermeier 6397c786ff implement PolkadotClient for polkadot clients without parachain key 2019-01-21 21:47:21 -03:00
Robert Habermeier bf49f5624a implement LocalClient for relevant substrate clients 2019-01-21 20:18:07 -03:00
Robert Habermeier 74981f268f skeleton code for following a polkadot parachain 2019-01-21 19:54:44 -03:00
Robert Habermeier aa6cd4f231 add deps for consensus crate 2019-01-15 18:01:23 -03:00
Robert Habermeier 3474145090 Skeleton for Cumulus-consensus 2019-01-15 16:33:11 -03:00