Packages

t

io.horizen

NodeViewHolderForSeederNode

trait NodeViewHolderForSeederNode[TX <: Transaction, H <: SidechainBlockHeaderBase, PMOD <: SidechainBlockBase[TX, H]] extends AbstractSidechainNodeViewHolder[TX, H, PMOD]

Linear Supertypes
AbstractSidechainNodeViewHolder[TX, H, PMOD], SidechainTypes, NodeViewHolder[TX, PMOD], SparkzEncoding, SparkzLogging, StrictLogging, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeViewHolderForSeederNode
  2. AbstractSidechainNodeViewHolder
  3. SidechainTypes
  4. NodeViewHolder
  5. SparkzEncoding
  6. SparkzLogging
  7. StrictLogging
  8. Actor
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. abstract type FPI <: AbstractFeePaymentsInfo
  3. abstract type HIS <: AbstractHistory[TX, H, PMOD, FPI, HSTOR, HIS]
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  4. abstract type HSTOR <: AbstractHistoryStorage[PMOD, FPI, HSTOR]
  5. abstract type MP <: MemoryPool[TX, MP]
    Definition Classes
    NodeViewHolder
  6. abstract type MS <: AbstractState[TX, H, PMOD, MS]
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  7. abstract type NV <: SidechainNodeViewBase[_, _, _, _, _, _, _, _]
  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. abstract type VL <: AbstractWallet[TX, PMOD, VL]
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder

Abstract Value Members

  1. abstract def checkAndRecoverStorages(restoredData: Option[(HIS, MS, VL, MP)]): Option[(HIS, MS, VL, MP)]
  2. abstract def genesisState: NodeView
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  3. abstract def getFeePaymentsInfo(state: MS, withdrawalEpochNumber: Int): FPI
  4. abstract def getNodeView: NV
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  5. abstract def getScanPersistentWallet(modToApply: PMOD, stateOp: Option[MS], epochNumber: Int, wallet: VL): VL
  6. abstract val listOfStorageInfo: Seq[SidechainStorageInfo]
  7. abstract def restoreState(): Option[NodeView]
    Definition Classes
    NodeViewHolder

Concrete 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[TX]): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolderForSeederNodeAbstractSidechainNodeViewHolder
  7. def applyModifier: Receive
  8. def applyStateAndWallet(history: HIS, stateToApply: MS, walletToApply: VL, suffixTrimmed: IndexedSeq[PMOD], progressInfo: ProgressInfo[PMOD]): 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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  17. implicit val context: ActorContext
    Definition Classes
    Actor
  18. def dumpStorages(): Unit
  19. implicit val encoder: SparkzEncoder
    Definition Classes
    SparkzEncoding
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. implicit def ethereumTxToScat(t: EthereumTransaction): SCAT
    Definition Classes
    SidechainTypes
  23. def extractTransactions(mod: PMOD): Seq[TX]
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  24. implicit def forgerBoxListToScbtList(bl: List[ForgerBox]): List[SCB]
    Definition Classes
    SidechainTypes
  25. implicit def forgerBoxToScb(b: ForgerBox): SCB
    Definition Classes
    SidechainTypes
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def getConsensusEpochNumber(timestamp: Timestamp): Int
  28. def getCurrentInfo: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  29. def getCurrentSidechainNodeViewInfo[A]: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  30. def getNodeViewChanges: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  31. def getStorageVersions: Map[String, String]
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def history(): HIS
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  34. def historyBlockValidators(params: NetworkParams): Seq[HistoryBlockValidator[TX, H, PMOD, FPI, HSTOR, HIS]]
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  37. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  38. val maxTxFee: Long
  39. def memoryPool(): MP
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  40. val metricsManager: MetricsManager
  41. def minimalState(): MS
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  42. lazy val modifiersCache: ModifiersCache[PMOD, 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
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def pmodModify(pmod: PMOD): Unit
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  47. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  48. def postStop(): Unit
    Definition Classes
    AbstractSidechainNodeViewHolder → Actor
  49. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  50. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  51. def processGenerateSecret: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  52. def processGetStorageVersions: Receive
  53. def processLocallyGeneratedModifiers: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  54. def processLocallyGeneratedSecret: Receive
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  55. def processLocallyGeneratedTransaction: Receive
  56. 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
  57. def receive: Receive
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder → Actor
  58. implicit def scbToForgerBox(b: SCB): ForgerBox
    Definition Classes
    SidechainTypes
  59. implicit def scbToWithdrawalRequestBox(b: SCB): WithdrawalRequestBox
    Definition Classes
    SidechainTypes
  60. implicit final val self: ActorRef
    Definition Classes
    Actor
  61. def semanticBlockValidators(params: NetworkParams): Seq[SemanticBlockValidator[PMOD]]
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  62. final def sender(): ActorRef
    Definition Classes
    Actor
  63. implicit def sidechainTxListToScbtList(tl: List[SidechainTransaction[Proposition, Box[Proposition]]]): List[SCBT]
    Definition Classes
    SidechainTypes
  64. implicit def sidechainTxToScbt(t: SidechainTransaction[Proposition, Box[Proposition]]): SCBT
    Definition Classes
    SidechainTypes
  65. val sparksSettings: SparkzSettings
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  66. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  67. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  68. def toString(): String
    Definition Classes
    AnyRef → Any
  69. def transactionsProcessing: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  70. def trimChainSuffix(suffix: IndexedSeq[PMOD], rollbackPoint: ModifierId): IndexedSeq[PMOD]
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder
  71. def txModify(tx: TX): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  72. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  73. def updateMemPool(blocksRemoved: Seq[PMOD], blocksApplied: Seq[PMOD], memPool: MP, state: MS): MP
    Attributes
    protected
    Definition Classes
    NodeViewHolderForSeederNodeAbstractSidechainNodeViewHolder → NodeViewHolder
  74. def updateNodeView(updatedHistory: Option[HIS], updatedState: Option[MS], updatedVault: Option[VL], updatedMempool: Option[MP]): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  75. final def updateState(history: HIS, state: MS, progressInfo: ProgressInfo[PMOD], suffixApplied: IndexedSeq[PMOD]): (HIS, Try[MS], Seq[PMOD])
    Attributes
    protected
    Definition Classes
    NodeViewHolder
    Annotations
    @tailrec()
  76. def updateStateAndWallet(history: HIS, state: MS, wallet: VL, progressInfo: ProgressInfo[PMOD], suffixApplied: IndexedSeq[PMOD]): (HIS, Try[MS], VL, Seq[PMOD])
  77. def vault(): VL
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  78. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  80. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. implicit def withdrawalRequestBoxToScb(b: WithdrawalRequestBox): SCB
    Definition Classes
    SidechainTypes
  82. implicit def zenBoxJavaListToScbtJavaList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  83. implicit def zenBoxListToScbtList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  84. implicit def zenBoxSetToScbSet(bs: Set[ZenBox]): Set[SCB]
    Definition Classes
    SidechainTypes
  85. 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 AbstractSidechainNodeViewHolder[TX, H, PMOD]

Inherited from SidechainTypes

Inherited from NodeViewHolder[TX, PMOD]

Inherited from SparkzEncoding

Inherited from SparkzLogging

Inherited from StrictLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped