-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Introduce profitablePriorityFeeCache Signed-off-by: Fabio Di Fabio <[email protected]> * Add block listener and transaction selector handler - Introduce block listener in LineaTransactionSelectorPlugin to handle transaction profitability - Integrate transaction selector handler for processing transactions from the latest block - Extract profitability calculation into a separate method for clarity and maintainability Signed-off-by: Ade Lucas <[email protected]> * Removed unused import Signed-off-by: Ade Lucas <[email protected]> * Move profitability metrics during tx selection in a dedicated class Signed-off-by: Fabio Di Fabio <[email protected]> * Improve the log of the future metric Signed-off-by: Fabio Di Fabio <[email protected]> * Organize the profitability cache by block Signed-off-by: Fabio Di Fabio <[email protected]> * Refctor to respect the requirement Signed-off-by: Fabio Di Fabio <[email protected]> * Add block added listener and handler into LineaTransactionPoolValidatorPlugin - Implement: Node's perception on Profitability levels of TxPool's contents (lo, hi, avg of TransactionProfitabilityCalculator.profitablePriorityFeePerGas(transaction) / transaction.priorityFeePerGas). Signed-off-by: Ade Lucas <[email protected]> * Add block added listener and handler into LineaTransactionPoolValidatorPlugin - Implement: Node's perception on Profitability levels of TxPool's contents (lo, hi, avg of TransactionProfitabilityCalculator.profitablePriorityFeePerGas(transaction) / transaction.priorityFeePerGas). Signed-off-by: Ade Lucas <[email protected]> * Add missing import in ValidatorProfitabilityMetrics.java Signed-off-by: Ade Lucas <[email protected]> * Use histogram and txpool get content api Signed-off-by: Fabio Di Fabio <[email protected]> * Add min and max metrics to selection profitability metrics Signed-off-by: Fabio Di Fabio <[email protected]> * Deleted ValidatorProfitabilityMetrics.java as part of 3D pricing metrics work Signed-off-by: Ade Lucas <[email protected]> * Run './gradlew :sequencer:spotlessApply' to fix ProfitableTransactionSelectorTest.java Signed-off-by: Ade Lucas <[email protected]> * Restore non-local dev settings for besuVersion in gradle.properties. Signed-off-by: Ade Lucas <[email protected]> * Generalize histogram metrics in a single class and check for category enabled Signed-off-by: Fabio Di Fabio <[email protected]> * Make profitability histogram metric buckets configurable Signed-off-by: Fabio Di Fabio <[email protected]> * Update versions Signed-off-by: Fabio Di Fabio <[email protected]> * Fix tests Signed-off-by: Fabio Di Fabio <[email protected]> * Apply suggestions from code review Signed-off-by: Fabio Di Fabio <[email protected]> * Update DEFAULT_PROFITABILITY_METRICS_BUCKETS Signed-off-by: Fabio Di Fabio <[email protected]> * Update Linea Besu and Tracer Signed-off-by: Fabio Di Fabio <[email protected]> --------- Signed-off-by: Fabio Di Fabio <[email protected]> Signed-off-by: Ade Lucas <[email protected]> Signed-off-by: Ade Lucas <[email protected]> Co-authored-by: Fabio Di Fabio <[email protected]>
- Loading branch information
1 parent
dcec695
commit ab849c5
Showing
16 changed files
with
571 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.