class AccountMemoryPool extends MemoryPool[AccountTransaction[Proposition, Proof[Proposition]], AccountMemoryPool] with SidechainTypes with NodeAccountMemoryPool with SparkzLogging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AccountMemoryPool
- SparkzLogging
- StrictLogging
- NodeAccountMemoryPool
- NodeMemoryPoolBase
- SidechainTypes
- MemoryPool
- MempoolReader
- ContainsModifiers
- NodeViewComponent
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AccountMemoryPool(unconfirmed: MempoolMap, accountStateReaderProvider: AccountStateReaderProvider, baseStateReaderProvider: BaseStateReaderProvider, mempoolSettings: AccountMempoolSettings, eventNotifierProvider: AccountEventNotifierProvider)
Type Members
-
type
NVCT = AccountMemoryPool
- Definition Classes
- AccountMemoryPool → NodeViewComponent
-
type
SCAT = AccountTransaction[SCP, SCPR]
- Definition Classes
- SidechainTypes
-
type
SCB = Box[SCP]
- Definition Classes
- SidechainTypes
-
type
SCBD = BoxData[SCP, SCB]
- Definition Classes
- SidechainTypes
-
type
SCBT = BoxTransaction[SCP, SCB]
- Definition Classes
- SidechainTypes
-
type
SCP = Proposition
- Definition Classes
- SidechainTypes
-
type
SCPR = Proof[SCP]
- Definition Classes
- SidechainTypes
-
type
SCS = Secret
- Definition Classes
- SidechainTypes
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
contains(id: ModifierId): Boolean
- Definition Classes
- AccountMemoryPool → MempoolReader → ContainsModifiers
-
def
contains(persistentModifier: AccountTransaction[Proposition, Proof[Proposition]]): Boolean
- Definition Classes
- ContainsModifiers
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
ethereumTxToScat(t: EthereumTransaction): SCAT
- Definition Classes
- SidechainTypes
-
def
filter(condition: (AccountTransaction[Proposition, Proof[Proposition]]) ⇒ Boolean): AccountMemoryPool
- Definition Classes
- AccountMemoryPool → MemoryPool
-
def
filter(txs: Seq[AccountTransaction[Proposition, Proof[Proposition]]]): AccountMemoryPool
- Definition Classes
- AccountMemoryPool → MemoryPool
-
implicit
def
forgerBoxListToScbtList(bl: List[ForgerBox]): List[SCB]
- Definition Classes
- SidechainTypes
-
implicit
def
forgerBoxToScb(b: ForgerBox): SCB
- Definition Classes
- SidechainTypes
-
def
getAll(ids: Seq[ModifierId]): Seq[AccountTransaction[Proposition, Proof[Proposition]]]
- Definition Classes
- AccountMemoryPool → MempoolReader
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getExecutableTransactions: List[ModifierId]
- def getExecutableTransactionsMap: TrieMap[Address, SortedMap[BigInteger, EthereumTransactionView]]
- def getExecutableTransactionsMapFrom(from: Address): SortedMap[BigInteger, EthereumTransactionView]
- def getExecutableTransactionsMapInspect: TrieMap[Address, SortedMap[BigInteger, String]]
- def getNonExecutableTransactions: List[ModifierId]
- def getNonExecutableTransactionsMap: TrieMap[Address, SortedMap[BigInteger, EthereumTransactionView]]
- def getNonExecutableTransactionsMapFrom(from: Address): SortedMap[BigInteger, EthereumTransactionView]
- def getNonExecutableTransactionsMapInspect: TrieMap[Address, SortedMap[BigInteger, String]]
-
def
getPoolNonce(account: Proposition): BigInteger
Get the highest nonce from the pool or default to the current nonce in the state.
-
def
getReader: MempoolReader[AccountTransaction[Proposition, Proof[Proposition]]]
- Definition Classes
- AccountMemoryPool → MemoryPool
-
def
getSize(): Int
- Definition Classes
- AccountMemoryPool → NodeMemoryPoolBase
-
def
getTransactionById(transactionId: String): Optional[AccountTransaction[Proposition, Proof[Proposition]]]
- Definition Classes
- AccountMemoryPool → NodeMemoryPoolBase
-
def
getTransactions(c: Comparator[AccountTransaction[Proposition, Proof[Proposition]]], limit: Int): List[AccountTransaction[Proposition, Proof[Proposition]]]
- Definition Classes
- AccountMemoryPool → NodeMemoryPoolBase
-
def
getTransactions(): List[AccountTransaction[Proposition, Proof[Proposition]]]
- Definition Classes
- AccountMemoryPool → NodeMemoryPoolBase
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- SparkzLogging
- Annotations
- @inline()
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
-
def
modifierById(modifierId: ModifierId): Option[AccountTransaction[Proposition, Proof[Proposition]]]
- Definition Classes
- AccountMemoryPool → MempoolReader → ContainsModifiers
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
notIn(ids: Seq[ModifierId]): Seq[ModifierId]
- Definition Classes
- AccountMemoryPool → MempoolReader
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
put(txs: Iterable[AccountTransaction[Proposition, Proof[Proposition]]]): Try[AccountMemoryPool]
- Definition Classes
- AccountMemoryPool → MemoryPool
-
def
put(tx: AccountTransaction[Proposition, Proof[Proposition]]): Try[AccountMemoryPool]
- Definition Classes
- AccountMemoryPool → MemoryPool
-
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
-
def
remove(tx: AccountTransaction[Proposition, Proof[Proposition]]): AccountMemoryPool
- Definition Classes
- AccountMemoryPool → MemoryPool
-
implicit
def
scbToForgerBox(b: SCB): ForgerBox
- Definition Classes
- SidechainTypes
-
implicit
def
scbToWithdrawalRequestBox(b: SCB): WithdrawalRequestBox
- Definition Classes
- SidechainTypes
-
implicit
def
sidechainTxListToScbtList(tl: List[SidechainTransaction[Proposition, Box[Proposition]]]): List[SCBT]
- Definition Classes
- SidechainTypes
-
implicit
def
sidechainTxToScbt(t: SidechainTransaction[Proposition, Box[Proposition]]): SCBT
- Definition Classes
- SidechainTypes
-
def
size: Int
- Definition Classes
- AccountMemoryPool → MempoolReader
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
take(limit: Int): Iterable[AccountTransaction[Proposition, Proof[Proposition]]]
- Definition Classes
- AccountMemoryPool → MempoolReader
- def takeExecutableTxs(forcedTx: Iterable[AccountTransaction[Proposition, Proof[Proposition]]] = Seq()): TransactionsByPriceAndNonce
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def updateMemPool(removedBlocks: Seq[AccountBlock], appliedBlocks: Seq[AccountBlock]): AccountMemoryPool
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
def
withdrawalRequestBoxToScb(b: WithdrawalRequestBox): SCB
- Definition Classes
- SidechainTypes
-
implicit
def
zenBoxJavaListToScbtJavaList(bl: List[ZenBox]): List[SCB]
- Definition Classes
- SidechainTypes
-
implicit
def
zenBoxListToScbtList(bl: List[ZenBox]): List[SCB]
- Definition Classes
- SidechainTypes
-
implicit
def
zenBoxSetToScbSet(bs: Set[ZenBox]): Set[SCB]
- Definition Classes
- SidechainTypes
-
implicit
def
zenBoxToScb(b: ZenBox): SCB
- Definition Classes
- SidechainTypes
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
getById(id: ModifierId): Option[AccountTransaction[Proposition, Proof[Proposition]]]
- Definition Classes
- MempoolReader
- Annotations
- @deprecated
- Deprecated
(Since version 2018-08-14) use modifierById instead