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

fix(core-transaction-pool): sort by fee, nonce #2937

Merged
merged 2 commits into from
Sep 18, 2019
Merged

fix(core-transaction-pool): sort by fee, nonce #2937

merged 2 commits into from
Sep 18, 2019

Commits on Sep 18, 2019

  1. fix(core-transaction-pool): sort by fee, nonce

    The merge 3923c37 wrongly removed the method sortAll() from memory.ts.
    This method was sorting transactions in the pool by fee, nonce (sorted
    by highest fee first, but transactions from the same sender must be
    sorted lowest nonce first).
    
    Restore the sortAll() method as of before the merge and adapt it to use
    the calculateTransactionExpiration() method for expiration sorting.
    vasild committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    8df8919 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bee38db View commit details
    Browse the repository at this point in the history