Fix build.

This commit is contained in:
Gav Wood
2016-12-11 02:02:40 +01:00
parent fa30dfd4b9
commit 0302d582d2
13 changed files with 115 additions and 107 deletions

View File

@@ -52,6 +52,9 @@ pub trait BlockChainClient : Sync + Send {
/// Get raw block header data by block id.
fn block_header(&self, id: BlockId) -> Option<Bytes>;
/// Look up the block number for the given block ID.
fn block_number(&self, id: BlockId) -> Option<BlockNumber>;
/// Get raw block body data by block id.
/// Block body is an RLP list of two items: uncles and transactions.
fn block_body(&self, id: BlockId) -> Option<Bytes>;