Packages

class MempoolMap extends SparkzLogging

Linear Supertypes
SparkzLogging, StrictLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MempoolMap
  2. SparkzLogging
  3. StrictLogging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MempoolMap(accountStateReaderProvider: AccountStateReaderProvider, baseStateReaderProvider: BaseStateReaderProvider, mempoolSettings: AccountMempoolSettings)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(ethTransaction: AccountTransaction[Proposition, Proof[Proposition]]): Try[(MempoolMap, Iterable[AccountTransaction[Proposition, Proof[Proposition]]])]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def canPayHigherFee(newTx: AccountTransaction[Proposition, Proof[Proposition]], oldTx: AccountTransaction[Proposition, Proof[Proposition]]): Boolean
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def contains(txId: ModifierId): Boolean
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def getAccountNonce(account: Proposition): Option[BigInteger]
  12. def getAccountSlots(account: Proposition): Int
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def getMempoolSizeInSlots: Int
  15. def getNonExecSubpoolSizeInSlots: Int
  16. def getTransaction(txId: ModifierId): Option[AccountTransaction[Proposition, Proof[Proposition]]]
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  20. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  21. def mempoolTransactions(executable: Boolean): Iterable[ModifierId]
  22. def mempoolTransactionsMap(executable: Boolean): TrieMap[Address, SortedMap[BigInteger, EthereumTransactionView]]
  23. def mempoolTransactionsMapFrom(executable: Boolean, fromAddress: Address): SortedMap[BigInteger, EthereumTransactionView]
  24. def mempoolTransactionsMapInspect(executable: Boolean): TrieMap[Address, SortedMap[BigInteger, String]]
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def removeFromMempool(ethTransaction: AccountTransaction[Proposition, Proof[Proposition]]): Try[MempoolMap]
  29. def size: Int
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def takeExecutableTxs(forcedTx: Iterable[AccountTransaction[Proposition, Proof[Proposition]]] = Seq()): TransactionsByPriceAndNonce

    Returns executable transactions sorted by gas tip (descending) and nonce.

    Returns executable transactions sorted by gas tip (descending) and nonce. The ordering is performed in a semi-lazy way.

  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def updateMemPool(rejectedBlocks: Seq[AccountBlock], appliedBlocks: Seq[AccountBlock]): Iterable[AccountTransaction[Proposition, Proof[Proposition]]]

    rejectedBlocks

    list of blocks to be removed

    appliedBlocks

    list of blocks to be applied

    returns

    list of new executable transactions. They can be transactions that were previous part of the active chain and now were removed from the blocks and readded to the mempool or they can be not executable transactions already in the mempool that were promoted to executable

  34. def values: Iterable[AccountTransaction[Proposition, Proof[Proposition]]]
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from SparkzLogging

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped