Struct ckb_app_config::MinerConfig [−][src]
pub struct MinerConfig {
pub client: ClientConfig,
pub workers: Vec<WorkerConfig>,
}Expand description
Miner config options.
Fields
client: ClientConfigRPC client config options.
Miner connects to CKB node via RPC.
workers: Vec<WorkerConfig>Miner workers config options.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more