ronin icon indicating copy to clipboard operation
ronin copied to clipboard

miner/worker: skip the uncle and resubmit logic in Consortium

Open minh-bq opened this issue 1 year ago • 0 comments

  • miner/worker: skip the uncle logic in Consortium

In Consortium consensus engine, we don't handle uncle blocks. Furthermore, the uncle logic in worker may block the main creating block logic. So this commit skips the uncle logic when Consortium consensus engine is used.

  • miner/worker: skip resubmit logic in Consortium

Currently, after 3 seconds, worker tries to create another block, optimistically thinks that it can get more transactions and earns more fee as a result. However, this causes overhead to the main block creating flow, so skip this logic in Consortium.

minh-bq avatar Feb 22 '24 10:02 minh-bq