Struct ethcore_miner::external::ExternalMiner [−][src]
pub struct ExternalMiner { /* fields omitted */ }
External Miner.
Methods
impl ExternalMiner
[src]
impl ExternalMiner
pub fn new(hashrates: Arc<Mutex<HashMap<H256, (Instant, U256)>>>) -> Self
[src]
pub fn new(hashrates: Arc<Mutex<HashMap<H256, (Instant, U256)>>>) -> Self
Creates new external miner with prefilled hashrates.
Trait Implementations
impl Default for ExternalMiner
[src]
impl Default for ExternalMiner
impl ExternalMinerService for ExternalMiner
[src]
impl ExternalMinerService for ExternalMiner
Auto Trait Implementations
impl Send for ExternalMiner
impl Send for ExternalMiner
impl Sync for ExternalMiner
impl Sync for ExternalMiner