Improve mining loop to reduce coupling in operations between miner and daemon #9444
Open
4 of 15 tasks
Labels
Milestone
Checklist
Ideas
.Lotus component
Improvement Suggestion
The current mining loop causes a lot of coupling between the miner node and the chain node.
Specifically, it selection of messages, block creation and block submission are all different APIs from miner to daemon which are required to hit the same daemon node
Such coupling results in a lot of back and forth requests between processes and poses several challenges in scaling both miner and daemon nodes, not to mention that we got here due to historic reasons
We need to investigate how to properly decouple/consolidate these APIs
The text was updated successfully, but these errors were encountered: