Client provide uncles (#1609)

* feat: add children function to backend

* feat: add test for children hashes

* feat: add uncles function to client

* fix: improve uncles function adds few more tests

* fix: remove children when reverting

* fix: typo and spec version
This commit is contained in:
Marcio Diaz
2019-02-25 11:21:36 +01:00
committed by GitHub
parent 63ec8b335b
commit 43e4544884
10 changed files with 392 additions and 8 deletions
+2
View File
@@ -51,6 +51,8 @@ pub mod meta_keys {
pub const GENESIS_HASH: &[u8; 3] = b"gen";
/// Leaves prefix list key.
pub const LEAF_PREFIX: &[u8; 4] = b"leaf";
/// Children prefix list key.
pub const CHILDREN_PREFIX: &[u8; 8] = b"children";
}
/// Database metadata.