tuweni / org.apache.tuweni.eth.repository / MemoryTransactionPool

MemoryTransactionPool

class MemoryTransactionPool : TransactionPool (source)

Constructors

<init>

MemoryTransactionPool()

Properties

storage

val storage: ExpiringMap<Hash, Transaction>

Functions

add

suspend fun add(transaction: Transaction): Unit

contains

suspend fun contains(hash: Hash): Boolean

get

suspend fun get(hash: Hash): Transaction?