rename of the trait

This commit is contained in:
Nikolay Volf
2016-05-31 20:33:26 +02:00
parent 8e252d5f1b
commit a845e08bc6
5 changed files with 33 additions and 33 deletions

View File

@@ -185,7 +185,7 @@ pub trait BlockChainClient : Sync + Send {
}
/// Extended client interface used for mining
pub trait ExtendedBlockChainClient : BlockChainClient {
pub trait MiningBlockChainClient : BlockChainClient {
/// Attempts to seal given block. Returns `SealedBlock` on success and the same block in case of error.
fn try_seal(&self, block: LockedBlock, seal: Vec<Bytes>) -> Result<SealedBlock, LockedBlock>;