Closed syntrust closed 2 months ago
- Save networkID at beginning
- Use
miningReward
of storage contract instead of es-node.Reduced the RPC queries by 4 during a mining tx submission.
I think two things should be included in the description of this PR:
The motivation of this PR is to optimize the process of mining transaction submission, reducing network interactions to save time and reduce the chance of failure caused by bad network condition.
What's in this PR:
miningReward
of storage contract instead of the implementation in es-node to save more network communications and duplicated code.Test can be done using a mining test case such as
The result shows the fix reduced the RPC queries by 4 during a mining tx submission.