Packages

class AccountMemoryPool extends MemoryPool[AccountTransaction[Proposition, Proof[Proposition]], AccountMemoryPool] with SidechainTypes with NodeAccountMemoryPool with SparkzLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AccountMemoryPool
  2. SparkzLogging
  3. StrictLogging
  4. NodeAccountMemoryPool
  5. NodeMemoryPoolBase
  6. SidechainTypes
  7. MemoryPool
  8. MempoolReader
  9. ContainsModifiers
  10. NodeViewComponent
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AccountMemoryPool(unconfirmed: MempoolMap, accountStateReaderProvider: AccountStateReaderProvider, baseStateReaderProvider: BaseStateReaderProvider, mempoolSettings: AccountMempoolSettings, eventNotifierProvider: AccountEventNotifierProvider)

Type Members

  1. type NVCT = AccountMemoryPool
    Definition Classes
    AccountMemoryPool → NodeViewComponent
  2. type SCAT = AccountTransaction[SCP, SCPR]
    Definition Classes
    SidechainTypes
  3. type SCB = Box[SCP]
    Definition Classes
    SidechainTypes
  4. type SCBD = BoxData[SCP, SCB]
    Definition Classes
    SidechainTypes
  5. type SCBT = BoxTransaction[SCP, SCB]
    Definition Classes
    SidechainTypes
  6. type SCP = Proposition
    Definition Classes
    SidechainTypes
  7. type SCPR = Proof[SCP]
    Definition Classes
    SidechainTypes
  8. type SCS = Secret
    Definition Classes
    SidechainTypes

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def contains(id: ModifierId): Boolean
    Definition Classes
    AccountMemoryPool → MempoolReader → ContainsModifiers
  7. def contains(persistentModifier: AccountTransaction[Proposition, Proof[Proposition]]): Boolean
    Definition Classes
    ContainsModifiers
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. implicit def ethereumTxToScat(t: EthereumTransaction): SCAT
    Definition Classes
    SidechainTypes
  11. def filter(condition: (AccountTransaction[Proposition, Proof[Proposition]]) ⇒ Boolean): AccountMemoryPool
    Definition Classes
    AccountMemoryPool → MemoryPool
  12. def filter(txs: Seq[AccountTransaction[Proposition, Proof[Proposition]]]): AccountMemoryPool
    Definition Classes
    AccountMemoryPool → MemoryPool
  13. implicit def forgerBoxListToScbtList(bl: List[ForgerBox]): List[SCB]
    Definition Classes
    SidechainTypes
  14. implicit def forgerBoxToScb(b: ForgerBox): SCB
    Definition Classes
    SidechainTypes
  15. def getAll(ids: Seq[ModifierId]): Seq[AccountTransaction[Proposition, Proof[Proposition]]]
    Definition Classes
    AccountMemoryPool → MempoolReader
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getExecutableTransactions: List[ModifierId]
  18. def getExecutableTransactionsMap: TrieMap[Address, SortedMap[BigInteger, EthereumTransactionView]]
  19. def getExecutableTransactionsMapFrom(from: Address): SortedMap[BigInteger, EthereumTransactionView]
  20. def getExecutableTransactionsMapInspect: TrieMap[Address, SortedMap[BigInteger, String]]
  21. def getNonExecutableTransactions: List[ModifierId]
  22. def getNonExecutableTransactionsMap: TrieMap[Address, SortedMap[BigInteger, EthereumTransactionView]]
  23. def getNonExecutableTransactionsMapFrom(from: Address): SortedMap[BigInteger, EthereumTransactionView]
  24. def getNonExecutableTransactionsMapInspect: TrieMap[Address, SortedMap[BigInteger, String]]
  25. def getPoolNonce(account: Proposition): BigInteger

    Get the highest nonce from the pool or default to the current nonce in the state.

  26. def getReader: MempoolReader[AccountTransaction[Proposition, Proof[Proposition]]]
    Definition Classes
    AccountMemoryPool → MemoryPool
  27. def getSize(): Int
    Definition Classes
    AccountMemoryPoolNodeMemoryPoolBase
  28. def getTransactionById(transactionId: String): Optional[AccountTransaction[Proposition, Proof[Proposition]]]
    Definition Classes
    AccountMemoryPoolNodeMemoryPoolBase
  29. def getTransactions(c: Comparator[AccountTransaction[Proposition, Proof[Proposition]]], limit: Int): List[AccountTransaction[Proposition, Proof[Proposition]]]
    Definition Classes
    AccountMemoryPoolNodeMemoryPoolBase
  30. def getTransactions(): List[AccountTransaction[Proposition, Proof[Proposition]]]
    Definition Classes
    AccountMemoryPoolNodeMemoryPoolBase
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  34. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  35. def modifierById(modifierId: ModifierId): Option[AccountTransaction[Proposition, Proof[Proposition]]]
    Definition Classes
    AccountMemoryPool → MempoolReader → ContainsModifiers
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def notIn(ids: Seq[ModifierId]): Seq[ModifierId]
    Definition Classes
    AccountMemoryPool → MempoolReader
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. def put(txs: Iterable[AccountTransaction[Proposition, Proof[Proposition]]]): Try[AccountMemoryPool]
    Definition Classes
    AccountMemoryPool → MemoryPool
  41. def put(tx: AccountTransaction[Proposition, Proof[Proposition]]): Try[AccountMemoryPool]
    Definition Classes
    AccountMemoryPool → MemoryPool
  42. def putWithoutCheck(txs: Iterable[AccountTransaction[Proposition, Proof[Proposition]]]): AccountMemoryPool

    This method is required by the Sparkz implementation of memory pool, but for the Account model the performance are too low so the memory pool was changed.

    This method is required by the Sparkz implementation of memory pool, but for the Account model the performance are too low so the memory pool was changed. In the new implementation this method is no longer required.

    Definition Classes
    AccountMemoryPool → MemoryPool
  43. def remove(tx: AccountTransaction[Proposition, Proof[Proposition]]): AccountMemoryPool
    Definition Classes
    AccountMemoryPool → MemoryPool
  44. implicit def scbToForgerBox(b: SCB): ForgerBox
    Definition Classes
    SidechainTypes
  45. implicit def scbToWithdrawalRequestBox(b: SCB): WithdrawalRequestBox
    Definition Classes
    SidechainTypes
  46. implicit def sidechainTxListToScbtList(tl: List[SidechainTransaction[Proposition, Box[Proposition]]]): List[SCBT]
    Definition Classes
    SidechainTypes
  47. implicit def sidechainTxToScbt(t: SidechainTransaction[Proposition, Box[Proposition]]): SCBT
    Definition Classes
    SidechainTypes
  48. def size: Int
    Definition Classes
    AccountMemoryPool → MempoolReader
  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def take(limit: Int): Iterable[AccountTransaction[Proposition, Proof[Proposition]]]
    Definition Classes
    AccountMemoryPool → MempoolReader
  51. def takeExecutableTxs(forcedTx: Iterable[AccountTransaction[Proposition, Proof[Proposition]]] = Seq()): TransactionsByPriceAndNonce
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. def updateMemPool(removedBlocks: Seq[AccountBlock], appliedBlocks: Seq[AccountBlock]): AccountMemoryPool
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. implicit def withdrawalRequestBoxToScb(b: WithdrawalRequestBox): SCB
    Definition Classes
    SidechainTypes
  58. implicit def zenBoxJavaListToScbtJavaList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  59. implicit def zenBoxListToScbtList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  60. implicit def zenBoxSetToScbSet(bs: Set[ZenBox]): Set[SCB]
    Definition Classes
    SidechainTypes
  61. implicit def zenBoxToScb(b: ZenBox): SCB
    Definition Classes
    SidechainTypes

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def getById(id: ModifierId): Option[AccountTransaction[Proposition, Proof[Proposition]]]
    Definition Classes
    MempoolReader
    Annotations
    @deprecated
    Deprecated

    (Since version 2018-08-14) use modifierById instead

Inherited from SparkzLogging

Inherited from StrictLogging

Inherited from NodeAccountMemoryPool

Inherited from SidechainTypes

Inherited from MempoolReader[AccountTransaction[Proposition, Proof[Proposition]]]

Inherited from ContainsModifiers[AccountTransaction[Proposition, Proof[Proposition]]]

Inherited from NodeViewComponent

Inherited from AnyRef

Inherited from Any

Ungrouped