node: use BABE predigest data to find authorship (#3293)

* node: use BABE predigest data to find authorship

* node: bump spec_version

* babe: use u32 for authority index
This commit is contained in:
André Silva
2019-08-02 18:52:36 +01:00
committed by Gavin Wood
parent da8b91ae7b
commit aa86185648
4 changed files with 8 additions and 9 deletions
@@ -53,7 +53,7 @@ pub const VRF_PROOF_LENGTH: usize = 64;
pub const PUBLIC_KEY_LENGTH: usize = 32;
/// The index of an authority.
pub type AuthorityIndex = u64;
pub type AuthorityIndex = u32;
/// A slot number.
pub type SlotNumber = u64;