Companion

Functions

Link copied to clipboard
fun empty(blockHeight: Int, timestamp: Instant = Instant.now()): MempoolSnapshot

Creates an empty mempool snapshot.

Link copied to clipboard
fun fromMempoolTransactions(transactions: List<MempoolTransaction>, blockHeight: Int, timestamp: Instant = Instant.now()): MempoolSnapshot

Creates a mempool snapshot from a list of mempool transactions.