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

Priority senders #5959

Merged
merged 36 commits into from
Oct 17, 2023
Merged

Priority senders #5959

merged 36 commits into from
Oct 17, 2023

Commits on Sep 25, 2023

  1. Improve performance when promoting transaction from next layers

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    17220d8 View commit details
    Browse the repository at this point in the history
  2. Always enforce promotion filter for transactions in the prioritized l…

    …ayer
    
    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    80a0845 View commit details
    Browse the repository at this point in the history
  3. Fix typo

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    919734e View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Apply suggestions from code review

    Co-authored-by: Sally MacFarlane <[email protected]>
    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 and macfarla authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    0b4bfa9 View commit details
    Browse the repository at this point in the history
  2. implement code review suggestions

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    b4e74e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0b72427 View commit details
    Browse the repository at this point in the history
  4. Add priority senders option

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    b393618 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c3e1fd8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fa50005 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4d5e015 View commit details
    Browse the repository at this point in the history
  8. Transaction pool unit tests refactoring to remove duplications

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    f4e04a2 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'txpool-test-refactor' into priority-senders

    # Conflicts:
    #	ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/transactions/AbstractTransactionPoolTest.java
    fab-10 committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    8b45df7 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Merge branch 'main' into priority-senders

    # Conflicts:
    #	ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/transactions/TransactionPool.java
    #	ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/transactions/AbstractTransactionPoolTest.java
    #	ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/transactions/layered/LayeredPendingTransactionsTest.java
    fab-10 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    8a612b9 View commit details
    Browse the repository at this point in the history
  2. Use a Set for priority senders and remove commented code

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    e6d2761 View commit details
    Browse the repository at this point in the history
  3. use hasPriority instead of isLocalSender when selecting txs for block…

    … creation
    
    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    185dcc6 View commit details
    Browse the repository at this point in the history
  4. Rename disable-locals to no-local-priority and unit tests

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    b36a09d View commit details
    Browse the repository at this point in the history
  5. Sort transactions by priority

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    3506f63 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Merge branch 'main' into priority-senders

    # Conflicts:
    #	ethereum/blockcreation/src/main/java/org/hyperledger/besu/ethereum/blockcreation/BlockTransactionSelector.java
    fab-10 committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    712b2c0 View commit details
    Browse the repository at this point in the history
  2. [skip-ci] Add tests

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    542ef6f View commit details
    Browse the repository at this point in the history
  3. Discard priority sender at last and more tests

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    33c0ded View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bbaa4d8 View commit details
    Browse the repository at this point in the history
  5. Update CHANGELOG

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    ff1944c View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Merge branch 'main' into priority-senders

    # Conflicts:
    #	datatypes/src/main/java/org/hyperledger/besu/datatypes/PendingTransaction.java
    #	ethereum/blockcreation/src/main/java/org/hyperledger/besu/ethereum/blockcreation/txselection/BlockTransactionSelector.java
    #	ethereum/blockcreation/src/main/java/org/hyperledger/besu/ethereum/blockcreation/txselection/selectors/PriceTransactionSelector.java
    #	ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/transactions/PendingTransaction.java
    #	ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/transactions/layered/LayeredPendingTransactionsTest.java
    #	ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/transactions/sorter/AccountTransactionOrderTest.java
    fab-10 committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    bb9c972 View commit details
    Browse the repository at this point in the history
  2. Update ReplayTest and txpool metrics for priority senders

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    66a5f03 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Configuration menu
    Copy the full SHA
    f7d98a4 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Merge branch 'main' into priority-senders

    # Conflicts:
    #	ethereum/blockcreation/src/main/java/org/hyperledger/besu/ethereum/blockcreation/txselection/BlockTransactionSelector.java
    #	ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/transactions/AbstractTransactionPoolTest.java
    fab-10 committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    3b0d49b View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    f1b7111 View commit details
    Browse the repository at this point in the history
  3. Add detachedCopy to priority pending transaction

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    2d0e09c View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Apply suggestions from code review

    Co-authored-by: Sally MacFarlane <[email protected]>
    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 and macfarla authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    a44a7bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09f3738 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4f5ac4 View commit details
    Browse the repository at this point in the history
  4. Fix tests

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    0faf055 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    a1466b8 View commit details
    Browse the repository at this point in the history
  2. Spotless

    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    1b785d0 View commit details
    Browse the repository at this point in the history
  3. [skip-ci] Update CHANGELOG.md

    Co-authored-by: Sally MacFarlane <[email protected]>
    Signed-off-by: Fabio Di Fabio <[email protected]>
    fab-10 and macfarla authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    2257731 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f4254e5 View commit details
    Browse the repository at this point in the history