Trait ethcore_miner::external::ExternalMinerService [−][src]
pub trait ExternalMinerService: Send + Sync { fn submit_hashrate(&self, hashrate: U256, id: H256); fn hashrate(&self) -> U256; }
External miner interface.
Required Methods
fn submit_hashrate(&self, hashrate: U256, id: H256)
Submit hashrate for given miner.
fn hashrate(&self) -> U256
Total hashrate.
Implementors
impl ExternalMinerService for ExternalMiner