Packages

abstract class AbstractSidechainNodeViewHolder[TX <: Transaction, H <: SidechainBlockHeaderBase, PMOD <: SidechainBlockBase[TX, H]] extends NodeViewHolder[TX, PMOD] with SidechainTypes

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

Instance Constructors

  1. new AbstractSidechainNodeViewHolder(sidechainSettings: SidechainSettings, timeProvider: NetworkTimeProvider)

Type Members

  1. abstract type FPI <: AbstractFeePaymentsInfo
  2. abstract type HIS <: AbstractHistory[TX, H, PMOD, FPI, HSTOR, HIS]
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  3. abstract type HSTOR <: AbstractHistoryStorage[PMOD, FPI, HSTOR]
  4. abstract type MP <: MemoryPool[TX, MP]
    Definition Classes
    NodeViewHolder
  5. abstract type MS <: AbstractState[TX, H, PMOD, MS]
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  6. abstract type NV <: SidechainNodeViewBase[_, _, _, _, _, _, _, _]
  7. type NodeView = (HIS, MS, VL, MP)
    Definition Classes
    NodeViewHolder
  8. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor
  9. type SCAT = AccountTransaction[SCP, SCPR]
    Definition Classes
    SidechainTypes
  10. type SCB = Box[SCP]
    Definition Classes
    SidechainTypes
  11. type SCBD = BoxData[SCP, SCB]
    Definition Classes
    SidechainTypes
  12. type SCBT = BoxTransaction[SCP, SCB]
    Definition Classes
    SidechainTypes
  13. type SCP = Proposition
    Definition Classes
    SidechainTypes
  14. type SCPR = Proof[SCP]
    Definition Classes
    SidechainTypes
  15. type SCS = Secret
    Definition Classes
    SidechainTypes
  16. type SI = SidechainSyncInfo
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  17. case class SidechainNodeUpdateInformation(history: HIS, state: MS, wallet: VL, failedMod: Option[PMOD], alternativeProgressInfo: Option[ProgressInfo[PMOD]], suffix: IndexedSeq[PMOD]) extends Product with Serializable
  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 applyLocallyGeneratedTransactions(newTxs: Iterable[TX]): Unit
    Attributes
    protected
  2. abstract def checkAndRecoverStorages(restoredData: Option[(HIS, MS, VL, MP)]): Option[(HIS, MS, VL, MP)]
  3. abstract def genesisState: NodeView
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  4. abstract def getFeePaymentsInfo(state: MS, withdrawalEpochNumber: Int): FPI
  5. abstract def getNodeView: NV
    Attributes
    protected
  6. abstract def getScanPersistentWallet(modToApply: PMOD, stateOp: Option[MS], epochNumber: Int, wallet: VL): VL
  7. abstract val listOfStorageInfo: Seq[SidechainStorageInfo]
  8. 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
  5. def applyFunctionOnNodeView[A]: Receive
    Attributes
    protected
  6. def applyModifier: Receive
  7. def applyStateAndWallet(history: HIS, stateToApply: MS, walletToApply: VL, suffixTrimmed: IndexedSeq[PMOD], progressInfo: ProgressInfo[PMOD]): Try[SidechainNodeUpdateInformation]
    Attributes
    protected
  8. var applyingBlock: Boolean
    Attributes
    protected
  9. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  12. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  13. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  16. implicit val context: ActorContext
    Definition Classes
    Actor
  17. def dumpStorages(): Unit
  18. implicit val encoder: SparkzEncoder
    Definition Classes
    SparkzEncoding
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. implicit def ethereumTxToScat(t: EthereumTransaction): SCAT
    Definition Classes
    SidechainTypes
  22. def extractTransactions(mod: PMOD): Seq[TX]
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  23. implicit def forgerBoxListToScbtList(bl: List[ForgerBox]): List[SCB]
    Definition Classes
    SidechainTypes
  24. implicit def forgerBoxToScb(b: ForgerBox): SCB
    Definition Classes
    SidechainTypes
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def getCurrentInfo: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  27. def getCurrentSidechainNodeViewInfo[A]: Receive
    Attributes
    protected
  28. def getNodeViewChanges: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  29. def getStorageVersions: Map[String, String]
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def history(): HIS
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  32. def historyBlockValidators(params: NetworkParams): Seq[HistoryBlockValidator[TX, H, PMOD, FPI, HSTOR, HIS]]
    Attributes
    protected
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  35. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  36. val maxTxFee: Long
  37. def memoryPool(): MP
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  38. def minimalState(): MS
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  39. 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
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  43. def pmodModify(pmod: PMOD): Unit
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  44. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  45. def postStop(): Unit
    Definition Classes
    AbstractSidechainNodeViewHolder → Actor
  46. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  47. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  48. def processGenerateSecret: Receive
    Attributes
    protected
  49. def processGetStorageVersions: Receive
  50. def processLocallyGeneratedModifiers: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  51. def processLocallyGeneratedSecret: Receive
    Attributes
    protected
  52. def processLocallyGeneratedTransaction: Receive
  53. 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
  54. def receive: Receive
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder → Actor
  55. implicit def scbToForgerBox(b: SCB): ForgerBox
    Definition Classes
    SidechainTypes
  56. implicit def scbToWithdrawalRequestBox(b: SCB): WithdrawalRequestBox
    Definition Classes
    SidechainTypes
  57. implicit final val self: ActorRef
    Definition Classes
    Actor
  58. def semanticBlockValidators(params: NetworkParams): Seq[SemanticBlockValidator[PMOD]]
    Attributes
    protected
  59. final def sender(): ActorRef
    Definition Classes
    Actor
  60. implicit def sidechainTxListToScbtList(tl: List[SidechainTransaction[Proposition, Box[Proposition]]]): List[SCBT]
    Definition Classes
    SidechainTypes
  61. implicit def sidechainTxToScbt(t: SidechainTransaction[Proposition, Box[Proposition]]): SCBT
    Definition Classes
    SidechainTypes
  62. val sparksSettings: SparkzSettings
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  63. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  64. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  65. def toString(): String
    Definition Classes
    AnyRef → Any
  66. def transactionsProcessing: Receive
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  67. def trimChainSuffix(suffix: IndexedSeq[PMOD], rollbackPoint: ModifierId): IndexedSeq[PMOD]
    Attributes
    protected
  68. def txModify(tx: TX): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  69. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  70. def updateMemPool(blocksRemoved: Seq[PMOD], blocksApplied: Seq[PMOD], memPool: MP, state: MS): MP
    Attributes
    protected
    Definition Classes
    AbstractSidechainNodeViewHolder → NodeViewHolder
  71. def updateNodeView(updatedHistory: Option[HIS], updatedState: Option[MS], updatedVault: Option[VL], updatedMempool: Option[MP]): Unit
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  72. 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()
  73. def updateStateAndWallet(history: HIS, state: MS, wallet: VL, progressInfo: ProgressInfo[PMOD], suffixApplied: IndexedSeq[PMOD]): (HIS, Try[MS], VL, Seq[PMOD])
  74. def vault(): VL
    Attributes
    protected
    Definition Classes
    NodeViewHolder
  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  77. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. implicit def withdrawalRequestBoxToScb(b: WithdrawalRequestBox): SCB
    Definition Classes
    SidechainTypes
  79. implicit def zenBoxJavaListToScbtJavaList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  80. implicit def zenBoxListToScbtList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  81. implicit def zenBoxSetToScbSet(bs: Set[ZenBox]): Set[SCB]
    Definition Classes
    SidechainTypes
  82. 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 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