empty

fun empty(blockHeight: Int, timestamp: Instant = Instant.now()): MempoolSnapshot(source)

Creates an empty mempool snapshot.

This can be useful for testing or when no mempool data is available.

Return

An empty MempoolSnapshot instance

Parameters

blockHeight

Current block height

timestamp

When the snapshot is taken (defaults to now)