Class MempoolPortions

java.lang.Object
io.mokamint.node.MempoolPortions

public abstract class MempoolPortions extends Object
Providers of objects containing the transaction information objects of a sorted, sequential portion of the mempool of a Mokamint node.
  • Method Details

    • of

      public static MempoolPortion of(Stream<MempoolEntry> entries)
      Yields the container of the entries of a sequential portion of the mempool of a Mokamint node.
      Parameters:
      entries - the mempool entries, in increasing order of priority
      Returns:
      the object containing the sequential entries