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 authored and Gavin Wood committed 2019-08-02 19:52:36 +02:00
1 parent da8b91ae7b
commit aa86185648
4 files changed
+8 -9

No files matched your search

@@ -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;