Packages

class AccountSidechainNodeViewHolder extends AbstractSidechainNodeViewHolder[AccountTransaction[Proposition, Proof[Proposition]], AccountBlockHeader, AccountBlock] with AccountEventNotifier

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AccountSidechainNodeViewHolder
  2. AccountEventNotifier
  3. AbstractSidechainNodeViewHolder
  4. SidechainTypes
  5. NodeViewHolder
  6. SparkzEncoding
  7. SparkzLogging
  8. StrictLogging
  9. Actor
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AccountSidechainNodeViewHolder(sidechainSettings: SidechainSettings, params: NetworkParams, timeProvider: NetworkTimeProvider, historyStorage: AccountHistoryStorage, consensusDataStorage: ConsensusDataStorage, stateMetadataStorage: AccountStateMetadataStorage, stateDbStorage: Database, customMessageProcessors: Seq[MessageProcessor], secretStorage: SidechainSecretStorage, genesisBlock: AccountBlock)

Type Members

  1. case class SidechainNodeUpdateInformation(history: HIS, state: MS, wallet: VL, failedMod: Option[PMOD], alternativeProgressInfo: Option[ProgressInfo[PMOD]], suffix: IndexedSeq[PMOD]) extends Product with Serializable
  2. type FPI = AccountFeePaymentsInfo
  3. type HIS = AccountHistory
    Definition Classes
    AccountSidechainNodeViewHolderAbstractSidechainNodeViewHolder → NodeViewHolder
  4. type HSTOR = AccountHistoryStorage
  5. type MP = AccountMemoryPool
    Definition Classes
    AccountSidechainNodeViewHolder → NodeViewHolder
  6. type MS = AccountState
    Definition Classes
    AccountSidechainNodeViewHolderAbstractSidechainNodeViewHolder → NodeViewHolder
  7. type NV = AccountNodeView
  8. type NodeView = (HIS, MS, VL, MP)
    Definition Classes
    NodeViewHolder
  9. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor
  10. type SCAT = AccountTransaction[SCP, SCPR]
    Definition Classes
    SidechainTypes
  11. type SCB = Box[SCP]
    Definition Classes
    SidechainTypes
  12. type SCBD = BoxData[SCP, SCB]
    Definition Classes
    SidechainTypes
  13. type SCBT = BoxTransaction[SCP, SCB]
    Definition Classes
    SidechainTypes
  14. type SCP = Proposition
    Definition Classes
    SidechainTypes
  15. type SCPR = Proof[SCP]
    Definition Classes
    SidechainTypes
  16. type SCS = Secret
    Definition Classes
    SidechainTypes
  17. type SI = SidechainSyncInfo
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  18. case class UpdateInformation extends Product with Serializable
    Definition Classes
    NodeViewHolder
  19. type VL = AccountWallet
    Definition Classes
    AccountSidechainNodeViewHolderAbstractSidechainNodeViewHolder → NodeViewHolder

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 applyBiFunctionOnNodeView[T, A]: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  5. def applyFunctionOnNodeView[A]: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  6. def applyLocallyGeneratedTransactions(newTxs: Iterable[AccountTransaction[Proposition, Proof[Proposition]]]): Unit
    Attributes
    protected
    Definition Classes
    AccountSidechainNodeViewHolderAbstractSidechainNodeViewHolder
  7. def applyModifier: Receive
  8. def applyStateAndWallet(history: HIS, stateToApply: MS, walletToApply: VL, suffixTrimmed: IndexedSeq[AccountBlock], progressInfo: ProgressInfo[AccountBlock]): Try[SidechainNodeUpdateInformation]
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  9. var applyingBlock: Boolean
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  10. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  12. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  13. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  14. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. def checkAndRecoverStorages(restoredData: Option[(AccountHistory, AccountState, AccountWallet, AccountMemoryPool)]): Option[(AccountHistory, AccountState, AccountWallet, AccountMemoryPool)]
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  18. implicit val context: ActorContext
    Definition Classes
    Actor
  19. def dumpStorages(): Unit
  20. implicit val encoder: SparkzEncoder
    Definition Classes
    SparkzEncoding
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  23. implicit def ethereumTxToScat(t: EthereumTransaction): SCAT
    Definition Classes
    SidechainTypes
  24. def extractTransactions(mod: AccountBlock): Seq[AccountTransaction[Proposition, Proof[Proposition]]]
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  25. implicit def forgerBoxListToScbtList(bl: List[ForgerBox]): List[SCB]
    Definition Classes
    SidechainTypes
  26. implicit def forgerBoxToScb(b: ForgerBox): SCB
    Definition Classes
    SidechainTypes
  27. def genesisState: (HIS, MS, VL, MP)
    Attributes
    protected
    Definition Classes
    AccountSidechainNodeViewHolder → NodeViewHolder
  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def getCurrentInfo: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  30. def getCurrentSidechainNodeViewInfo[A]: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  31. def getFeePaymentsInfo(state: MS, withdrawalEpochNumber: Int): FPI
  32. def getNodeView(): AccountNodeView
    Attributes
    protected
    Definition Classes
    AccountSidechainNodeViewHolderAbstractSidechainNodeViewHolder
  33. def getNodeViewChanges: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  34. def getScanPersistentWallet(modToApply: AccountBlock, stateOp: Option[MS], epochNumber: Int, wallet: VL): VL
  35. def getStorageVersions: Map[String, String]
  36. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. def history(): HIS
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  38. def historyBlockValidators(params: NetworkParams): Seq[HistoryBlockValidator[AccountTransaction[Proposition, Proof[Proposition]], AccountBlockHeader, AccountBlock, AccountFeePaymentsInfo, AccountHistoryStorage, AccountHistory]]
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. lazy val listOfStorageInfo: Seq[SidechainStorageInfo]
  41. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  42. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  43. val maxTxFee: Long
  44. def memoryPool(): MP
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  45. def messageProcessors(params: NetworkParams): Seq[MessageProcessor]
    Attributes
    protected
  46. def minimalState(): MS
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  47. lazy val modifiersCache: ModifiersCache[AccountBlock, HIS]

    Cache for modifiers.

    Cache for modifiers. If modifiers are coming out-of-order, they are to be stored in this cache.

    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  51. def pmodModify(pmod: AccountBlock): Unit
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  52. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  53. def postStop(): Unit
    Definition Classes
    AbstractSidechainNodeViewHolder → Actor
  54. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  55. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  56. def processGenerateSecret: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  57. def processGetStorageVersions: Receive
  58. def processLocallyGeneratedModifiers: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  59. def processLocallyGeneratedSecret: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  60. def processLocallyGeneratedTransaction: Receive
  61. def processRemoteModifiers: Receive

    Process new modifiers from remote.

    Process new modifiers from remote. Put all candidates to modifiersCache and then try to apply as much modifiers from cache as possible. If the cache is half full, do not include modifiers that are more than 24 hours away from the best block timestamp. Clear cache if it's size exceeds size limit. Publish ModifiersProcessingResult message with all just applied and removed from cache modifiers.

    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  62. def receive: Receive
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder → Actor
  63. def restoreState(): Option[(HIS, MS, VL, MP)]
    Definition Classes
    AccountSidechainNodeViewHolder → NodeViewHolder
  64. implicit def scbToForgerBox(b: SCB): ForgerBox
    Definition Classes
    SidechainTypes
  65. implicit def scbToWithdrawalRequestBox(b: SCB): WithdrawalRequestBox
    Definition Classes
    SidechainTypes
  66. implicit final val self: ActorRef
    Definition Classes
    Actor
  67. def semanticBlockValidators(params: NetworkParams): Seq[SemanticBlockValidator[AccountBlock]]
  68. def sendNewExecTxsEvent(listOfNewExecTxs: Iterable[AccountTransaction[Proposition, Proof[Proposition]]]): Unit
  69. final def sender(): ActorRef
    Definition Classes
    Actor
  70. implicit def sidechainTxListToScbtList(tl: List[SidechainTransaction[Proposition, Box[Proposition]]]): List[SCBT]
    Definition Classes
    SidechainTypes
  71. implicit def sidechainTxToScbt(t: SidechainTransaction[Proposition, Box[Proposition]]): SCBT
    Definition Classes
    SidechainTypes
  72. val sparksSettings: SparkzSettings
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  73. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  74. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  75. def toString(): String
    Definition Classes
    AnyRef → Any
  76. def transactionsProcessing: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  77. def trimChainSuffix(suffix: IndexedSeq[AccountBlock], rollbackPoint: ModifierId): IndexedSeq[AccountBlock]
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  78. def txModify(tx: AccountTransaction[Proposition, Proof[Proposition]]): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  79. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  80. def updateMemPool(removedBlocks: Seq[AccountBlock], appliedBlocks: Seq[AccountBlock], memPool: MP, state: MS): MP
    Attributes
    protected
    Definition Classes
    AccountSidechainNodeViewHolderAbstractSidechainNodeViewHolder → NodeViewHolder
  81. def updateNodeView(updatedHistory: Option[HIS], updatedState: Option[MS], updatedVault: Option[VL], updatedMempool: Option[MP]): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  82. final def updateState(history: HIS, state: MS, progressInfo: ProgressInfo[AccountBlock], suffixApplied: IndexedSeq[AccountBlock]): (HIS, Try[MS], Seq[AccountBlock])
    Attributes
    protected
    Definition Classes
    NodeViewHolder
    Annotations
    @tailrec()
  83. def updateStateAndWallet(history: HIS, state: MS, wallet: VL, progressInfo: ProgressInfo[AccountBlock], suffixApplied: IndexedSeq[AccountBlock]): (HIS, Try[MS], VL, Seq[AccountBlock])
  84. def vault(): VL
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  85. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  87. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. implicit def withdrawalRequestBoxToScb(b: WithdrawalRequestBox): SCB
    Definition Classes
    SidechainTypes
  89. implicit def zenBoxJavaListToScbtJavaList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  90. implicit def zenBoxListToScbtList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  91. implicit def zenBoxSetToScbSet(bs: Set[ZenBox]): Set[SCB]
    Definition Classes
    SidechainTypes
  92. 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

Inherited from AccountEventNotifier

Inherited from SidechainTypes

Inherited from NodeViewHolder[AccountTransaction[Proposition, Proof[Proposition]], AccountBlock]

Inherited from SparkzEncoding

Inherited from SparkzLogging

Inherited from StrictLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped