Wei Tang
2e558908e6
Split PrimaryPreDigest and SecondaryPreDigest ( #5373 )
...
* Split PrimaryPreDigest and SecondaryPreDigest
* Update client/consensus/babe/src/lib.rs
Co-Authored-By: André Silva <andre.beat@gmail.com >
* Update primitives/consensus/babe/src/digests.rs
Co-Authored-By: André Silva <andre.beat@gmail.com >
* Update primitives/consensus/babe/src/digests.rs
Co-Authored-By: André Silva <andre.beat@gmail.com >
* Update primitives/consensus/babe/src/digests.rs
Co-Authored-By: André Silva <andre.beat@gmail.com >
Co-authored-by: André Silva <andre.beat@gmail.com >
2020-03-24 18:07:51 +01:00
Wei Tang
9c7261fab3
Simplify BABE pre-digest definitions ( #5289 )
...
* Init vrf crate without type alias
* Generic PreDigest definition for BABE
* Fix BABE vrf interface change
* Missing default-features def in sp-consensus-babe
* Fix sp-consensus-babe compile
* frame-babe: fix type inference
* Unify type definitions of vrf output/proof and randomness
* frame-babe: fix tests
* Bump node impl version
* Update cargo lock
* Derive Copy for RawVRFOutput and RawVRFProof
* Fix duplicated derive
Co-authored-by: Gavin Wood <gavin@parity.io >
2020-03-23 11:53:41 +01:00
Wei Tang
4df27e760e
Refactor epoch changes to a separate crate ( #4785 )
...
* Init epoch changes module
* Initial integration of new epoch changes module for BABE
* Fix all initial compile errors
* rename: digest -> digests
* Fix babe tests
* Bump impl_version
* Fix more test issues
* Remove test flag for tree
It unfortunately won't work for multiple crates.
* Update cargo lock
* Fix duplicate parking_lot version
* Add missing license header
2020-02-06 16:48:38 +01:00