Packages

c

io.horizen.utxo

SidechainNodeViewHolderForSeederNode

class SidechainNodeViewHolderForSeederNode extends SidechainNodeViewHolder with NodeViewHolderForSeederNode[BoxTransaction[Proposition, Box[Proposition]], SidechainBlockHeader, SidechainBlock]

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

Instance Constructors

  1. new SidechainNodeViewHolderForSeederNode(sidechainSettings: SidechainSettings, historyStorage: SidechainHistoryStorage, consensusDataStorage: ConsensusDataStorage, stateStorage: SidechainStateStorage, forgerBoxStorage: SidechainStateForgerBoxStorage, utxoMerkleTreeProvider: SidechainStateUtxoMerkleTreeProvider, walletBoxStorage: SidechainWalletBoxStorage, secretStorage: SidechainSecretStorage, walletTransactionStorage: SidechainWalletTransactionStorage, forgingBoxesInfoStorage: ForgingBoxesInfoStorage, cswDataProvider: SidechainWalletCswDataProvider, backupStorage: BackupStorage, params: NetworkParams, timeProvider: NetworkTimeProvider, applicationWallet: ApplicationWallet, applicationState: ApplicationState, genesisBlock: SidechainBlock)

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 = SidechainFeePaymentsInfo
  3. type HIS = SidechainHistory
    Definition Classes
    SidechainNodeViewHolderAbstractSidechainNodeViewHolder → NodeViewHolder
  4. type HSTOR = SidechainHistoryStorage
  5. type MP = SidechainMemoryPool
    Definition Classes
    SidechainNodeViewHolder → NodeViewHolder
  6. type MS = SidechainState
    Definition Classes
    SidechainNodeViewHolderAbstractSidechainNodeViewHolder → NodeViewHolder
  7. type NV = SidechainNodeView
  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 = SidechainWallet
    Definition Classes
    SidechainNodeViewHolderAbstractSidechainNodeViewHolder → 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[BoxTransaction[Proposition, Box[Proposition]]]): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolderForSeederNodeAbstractSidechainNodeViewHolder
  7. def applyModifier: Receive
  8. def applyStateAndWallet(history: HIS, stateToApply: MS, walletToApply: VL, suffixTrimmed: IndexedSeq[SidechainBlock], progressInfo: ProgressInfo[SidechainBlock]): 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[(SidechainHistory, SidechainState, SidechainWallet, SidechainMemoryPool)]): Option[(SidechainHistory, SidechainState, SidechainWallet, SidechainMemoryPool)]
  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: SidechainBlock): Seq[BoxTransaction[Proposition, Box[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
    SidechainNodeViewHolder → 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, epochNumber: Int): FPI
  32. def getNodeView(): SidechainNodeView
    Attributes
    protected
    Definition Classes
    SidechainNodeViewHolderAbstractSidechainNodeViewHolder
  33. def getNodeViewChanges: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  34. def getScanPersistentWallet(modToApply: SidechainBlock, 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[BoxTransaction[Proposition, Box[Proposition]], SidechainBlockHeader, SidechainBlock, FPI, HSTOR, HIS]]
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  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 minimalState(): MS
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  46. lazy val modifiersCache: ModifiersCache[SidechainBlock, 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
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. def pmodModify(pmod: SidechainBlock): Unit
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  51. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  52. def postStop(): Unit
    Definition Classes
    AbstractSidechainNodeViewHolder → Actor
  53. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  54. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  55. def processGenerateSecret: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  56. def processGetStorageVersions: Receive
  57. def processLocallyGeneratedModifiers: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  58. def processLocallyGeneratedSecret: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  59. def processLocallyGeneratedTransaction: Receive
  60. 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
  61. def receive: Receive
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder → Actor
  62. def restoreState(): Option[(HIS, MS, VL, MP)]
    Definition Classes
    SidechainNodeViewHolder → NodeViewHolder
  63. implicit def scbToForgerBox(b: SCB): ForgerBox
    Definition Classes
    SidechainTypes
  64. implicit def scbToWithdrawalRequestBox(b: SCB): WithdrawalRequestBox
    Definition Classes
    SidechainTypes
  65. implicit final val self: ActorRef
    Definition Classes
    Actor
  66. def semanticBlockValidators(params: NetworkParams): Seq[SemanticBlockValidator[SidechainBlock]]
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  67. final def sender(): ActorRef
    Definition Classes
    Actor
  68. implicit def sidechainTxListToScbtList(tl: List[SidechainTransaction[Proposition, Box[Proposition]]]): List[SCBT]
    Definition Classes
    SidechainTypes
  69. implicit def sidechainTxToScbt(t: SidechainTransaction[Proposition, Box[Proposition]]): SCBT
    Definition Classes
    SidechainTypes
  70. val sparksSettings: SparkzSettings
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  71. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  72. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  73. def toString(): String
    Definition Classes
    AnyRef → Any
  74. def transactionsProcessing: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  75. def trimChainSuffix(suffix: IndexedSeq[SidechainBlock], rollbackPoint: ModifierId): IndexedSeq[SidechainBlock]
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  76. def txModify(tx: BoxTransaction[Proposition, Box[Proposition]]): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  77. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  78. def updateMemPool(blocksRemoved: Seq[SidechainBlock], blocksApplied: Seq[SidechainBlock], memPool: MP, state: MS): MP
    Attributes
    protected
    Definition Classes
    NodeViewHolderForSeederNodeAbstractSidechainNodeViewHolder → NodeViewHolder
  79. def updateNodeView(updatedHistory: Option[HIS], updatedState: Option[MS], updatedVault: Option[VL], updatedMempool: Option[MP]): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  80. final def updateState(history: HIS, state: MS, progressInfo: ProgressInfo[SidechainBlock], suffixApplied: IndexedSeq[SidechainBlock]): (HIS, Try[MS], Seq[SidechainBlock])
    Attributes
    protected
    Definition Classes
    NodeViewHolder
    Annotations
    @tailrec()
  81. def updateStateAndWallet(history: HIS, state: MS, wallet: VL, progressInfo: ProgressInfo[SidechainBlock], suffixApplied: IndexedSeq[SidechainBlock]): (HIS, Try[MS], VL, Seq[SidechainBlock])
  82. def vault(): VL
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  83. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  84. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  85. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. implicit def withdrawalRequestBoxToScb(b: WithdrawalRequestBox): SCB
    Definition Classes
    SidechainTypes
  87. implicit def zenBoxJavaListToScbtJavaList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  88. implicit def zenBoxListToScbtList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  89. implicit def zenBoxSetToScbSet(bs: Set[ZenBox]): Set[SCB]
    Definition Classes
    SidechainTypes
  90. 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 SidechainNodeViewHolder

Inherited from SidechainTypes

Inherited from NodeViewHolder[BoxTransaction[Proposition, Box[Proposition]], SidechainBlock]

Inherited from SparkzEncoding

Inherited from SparkzLogging

Inherited from StrictLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped