Trait ethcore_stratum::JobDispatcher
source · [−]pub trait JobDispatcher: Send + Sync {
fn submit(&self, payload: Vec<String>) -> Result<(), Error>;
fn initial(&self) -> Option<String> { ... }
fn difficulty(&self) -> Option<String> { ... }
fn job(&self) -> Option<String> { ... }
}
Expand description
Interface that can provide pow/blockchain-specific responses for the clients