Trait ethcore::client::ImportBlock
[−]
[src]
pub trait ImportBlock { fn import_block(&self, bytes: Bytes) -> Result<H256, BlockImportError>; }
Provides methods to import block into blockchain
Required Methods
fn import_block(&self, bytes: Bytes) -> Result<H256, BlockImportError>
Import a block into the blockchain.
Implementors
impl ImportBlock for Client
impl ImportBlock for TestBlockChainClient