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