mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-09 13:58:02 -05:00
Use PendingTransaction interface in block creation classes (#8254)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user