Miner should panic if `mining_key` is not set
Opened this issue · 1 comments
obycode commented
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.
obycode commented
Alternative to panicking, it could instead default to using the miner's seed
as the mining key if it is not defined.