new
/// Creates a new Miner. Needs references to the chain state and its
/// storage.
set_debug_output_id
/// Keeping this optional so setting in a separate function
/// instead of in the new function
inner_mining_loop
/// The inner part of mining loop for the internal miner
/// kept around mostly for automated testing purposes
run_loop
/// Starts the mining loop, building a new block on top of the existing
/// chain anytime required and looking for PoW solution.