etclabscore / multi-geth-fork

GNU Lesser General Public License v3.0
3 stars 8 forks source link

--mine flag seems not to start mining automatically #76

Closed meowsbits closed 4 years ago

meowsbits commented 4 years ago
  1. Run with --mine

See logs as below, but never win a block. For instance, I failed to win a block for more than a week on the Mordor net, which has very low hashrate.

Commit new mining work                   number=478565 

... But never see logs like:

Started ethash search for new nonces
  1. Enter console
  2. Run miner.stop(); miner.start(); Geth will generate DAG.
  3. Start winning some blocks.
meowsbits commented 4 years ago

Which is to say that --mine may enable mining, but it does not start mining automatically.

meowsbits commented 4 years ago

Known, and expected behavior for CPU mining. See https://github.com/ethereum/go-ethereum/issues/17693#issuecomment-562058076