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
@@ -163,6 +163,10 @@ impl<S, F, Block> BlockchainBackend<Block> for Blockchain<S, F> where Block: Blo
fn leaves(&self) -> ClientResult<Vec<Block::Hash>> {
unimplemented!()
}
fn children(&self, _parent_hash: Block::Hash) -> ClientResult<Vec<Block::Hash>> {
unimplemented!()
}
}
#[cfg(test)]