Use PendingTransaction interface in block creation classes (#8254)

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
This commit is contained in:
Fabio Di Fabio
2025-02-05 21:31:09 +01:00
committed by GitHub
parent 630a8f7d0f
commit a81879370e
10 changed files with 47 additions and 39 deletions

View File

@@ -43,4 +43,18 @@ public interface PendingTransaction {
* @return timestamp
*/
long getAddedAt();
/**
* Return the estimated amount memory that this pending transaction occupies
*
* @return the estimated memory size
*/
int memorySize();
/**
* Formats a string with detailed information about the pending transaction for debug purposes
*
* @return a string
*/
String toTraceLog();
}