Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

worker enhancement: NewTxsEvent and triePrefetch reuse #1204

Merged
merged 2 commits into from
Nov 28, 2022

Commits on Nov 25, 2022

  1. worker: reused triePrefetch when multi-fillTransactions to mine a block.

    avoid too much trie prefetch routines when several fillTransactions are called.
    setunapo committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    f35abea View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

  1. worker: some Subscribe NewTxsEvent changes of miner worker

    1.remove the unnecessary NewTxsEvent subscriber, which was used for PoW resubmit check.
    2.unsubscribe ASAP before another fillTransactions, to avoid block others.
    setunapo committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    e1d3d5e View commit details
    Browse the repository at this point in the history