[][src]Crate grin_miner_config

Crate wrapping up mining configuration file

Structs

ConfigMembers

Keeping an 'inner' structure here, as the top level GlobalConfigContainer options might want to keep internal state that we don't necessarily want serialised or deserialised

GlobalConfig

separately for now, then put them together as a single ServerConfig object afterwards. This is to flatten out the configuration file into logical sections, as they tend to be quite nested in the code Most structs optional, as they may or may not be needed depending on what's being run

GrinMinerPluginConfig

CuckooMinerPlugin configuration

MinerConfig

basic mining configuration

Enums

ConfigError

Error type wrapping config errors.

Functions

read_configs

Transforms a set of grin-miner plugin configs to cuckoo-miner plugins configs