Open obycode opened 3 days ago
Since the mining_key is required now that Nakamoto is active, MinerConfigFile::into_config_default should panic if it is not set. Otherwise, someone trying to mine could spend Bitcoin but then fail to mine blocks.
mining_key
MinerConfigFile::into_config_default
Alternative to panicking, it could instead default to using the miner's seed as the mining key if it is not defined.
seed
Since the
mining_key
is required now that Nakamoto is active,MinerConfigFile::into_config_default
should panic if it is not set. Otherwise, someone trying to mine could spend Bitcoin but then fail to mine blocks.