abstract class AbstractSidechainNodeViewHolder[TX <: Transaction, H <: SidechainBlockHeaderBase, PMOD <: SidechainBlockBase[TX, H]] extends NodeViewHolder[TX, PMOD] with SidechainTypes
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AbstractSidechainNodeViewHolder
- SidechainTypes
- NodeViewHolder
- SparkzEncoding
- SparkzLogging
- StrictLogging
- Actor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AbstractSidechainNodeViewHolder(sidechainSettings: SidechainSettings, timeProvider: NetworkTimeProvider)
Type Members
- abstract type FPI <: AbstractFeePaymentsInfo
-
abstract
type
HIS <: AbstractHistory[TX, H, PMOD, FPI, HSTOR, HIS]
- Definition Classes
- AbstractSidechainNodeViewHolder → NodeViewHolder
- abstract type HSTOR <: AbstractHistoryStorage[PMOD, FPI, HSTOR]
-
abstract
type
MP <: MemoryPool[TX, MP]
- Definition Classes
- NodeViewHolder
-
abstract
type
MS <: AbstractState[TX, H, PMOD, MS]
- Definition Classes
- AbstractSidechainNodeViewHolder → NodeViewHolder
- abstract type NV <: SidechainNodeViewBase[_, _, _, _, _, _, _, _]
-
type
NodeView = (HIS, MS, VL, MP)
- Definition Classes
- NodeViewHolder
-
type
Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
-
type
SCAT = AccountTransaction[SCP, SCPR]
- Definition Classes
- SidechainTypes
-
type
SCB = Box[SCP]
- Definition Classes
- SidechainTypes
-
type
SCBD = BoxData[SCP, SCB]
- Definition Classes
- SidechainTypes
-
type
SCBT = BoxTransaction[SCP, SCB]
- Definition Classes
- SidechainTypes
-
type
SCP = Proposition
- Definition Classes
- SidechainTypes
-
type
SCPR = Proof[SCP]
- Definition Classes
- SidechainTypes
-
type
SCS = Secret
- Definition Classes
- SidechainTypes
-
type
SI = SidechainSyncInfo
- Definition Classes
- AbstractSidechainNodeViewHolder → NodeViewHolder
- case class SidechainNodeUpdateInformation(history: HIS, state: MS, wallet: VL, failedMod: Option[PMOD], alternativeProgressInfo: Option[ProgressInfo[PMOD]], suffix: IndexedSeq[PMOD]) extends Product with Serializable
-
case class
UpdateInformation extends Product with Serializable
- Definition Classes
- NodeViewHolder
-
abstract
type
VL <: AbstractWallet[TX, PMOD, VL]
- Definition Classes
- AbstractSidechainNodeViewHolder → NodeViewHolder
Abstract Value Members
-
abstract
def
applyLocallyGeneratedTransactions(newTxs: Iterable[TX]): Unit
- Attributes
- protected
- abstract def checkAndRecoverStorages(restoredData: Option[(HIS, MS, VL, MP)]): Option[(HIS, MS, VL, MP)]
-
abstract
def
genesisState: NodeView
- Attributes
- protected
- Definition Classes
- NodeViewHolder
- abstract def getFeePaymentsInfo(state: MS, withdrawalEpochNumber: Int): FPI
-
abstract
def
getNodeView: NV
- Attributes
- protected
- abstract def getScanPersistentWallet(modToApply: PMOD, stateOp: Option[MS], epochNumber: Int, wallet: VL): VL
- abstract val listOfStorageInfo: Seq[SidechainStorageInfo]
-
abstract
def
restoreState(): Option[NodeView]
- Definition Classes
- NodeViewHolder
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
applyBiFunctionOnNodeView[T, A]: Receive
- Attributes
- protected
-
def
applyFunctionOnNodeView[A]: Receive
- Attributes
- protected
- def applyModifier: Receive
-
def
applyStateAndWallet(history: HIS, stateToApply: MS, walletToApply: VL, suffixTrimmed: IndexedSeq[PMOD], progressInfo: ProgressInfo[PMOD]): Try[SidechainNodeUpdateInformation]
- Attributes
- protected
-
var
applyingBlock: Boolean
- Attributes
- protected
-
def
aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
implicit
val
context: ActorContext
- Definition Classes
- Actor
- def dumpStorages(): Unit
-
implicit
val
encoder: SparkzEncoder
- Definition Classes
- SparkzEncoding
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
ethereumTxToScat(t: EthereumTransaction): SCAT
- Definition Classes
- SidechainTypes
-
def
extractTransactions(mod: PMOD): Seq[TX]
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
implicit
def
forgerBoxListToScbtList(bl: List[ForgerBox]): List[SCB]
- Definition Classes
- SidechainTypes
-
implicit
def
forgerBoxToScb(b: ForgerBox): SCB
- Definition Classes
- SidechainTypes
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getCurrentInfo: Receive
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
def
getCurrentSidechainNodeViewInfo[A]: Receive
- Attributes
- protected
-
def
getNodeViewChanges: Receive
- Attributes
- protected
- Definition Classes
- NodeViewHolder
- def getStorageVersions: Map[String, String]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
history(): HIS
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
def
historyBlockValidators(params: NetworkParams): Seq[HistoryBlockValidator[TX, H, PMOD, FPI, HSTOR, HIS]]
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- SparkzLogging
- Annotations
- @inline()
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
- val maxTxFee: Long
-
def
memoryPool(): MP
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
def
minimalState(): MS
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
pmodModify(pmod: PMOD): Unit
- Attributes
- protected
- Definition Classes
- AbstractSidechainNodeViewHolder → NodeViewHolder
-
def
postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
postStop(): Unit
- Definition Classes
- AbstractSidechainNodeViewHolder → Actor
-
def
preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preStart(): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
processGenerateSecret: Receive
- Attributes
- protected
- def processGetStorageVersions: Receive
-
def
processLocallyGeneratedModifiers: Receive
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
def
processLocallyGeneratedSecret: Receive
- Attributes
- protected
- def processLocallyGeneratedTransaction: Receive
-
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
ModifiersProcessingResultmessage with all just applied and removed from cache modifiers.- Definition Classes
- AbstractSidechainNodeViewHolder → NodeViewHolder
-
def
receive: Receive
- Definition Classes
- AbstractSidechainNodeViewHolder → NodeViewHolder → Actor
-
implicit
def
scbToForgerBox(b: SCB): ForgerBox
- Definition Classes
- SidechainTypes
-
implicit
def
scbToWithdrawalRequestBox(b: SCB): WithdrawalRequestBox
- Definition Classes
- SidechainTypes
-
implicit final
val
self: ActorRef
- Definition Classes
- Actor
-
def
semanticBlockValidators(params: NetworkParams): Seq[SemanticBlockValidator[PMOD]]
- Attributes
- protected
-
final
def
sender(): ActorRef
- Definition Classes
- Actor
-
implicit
def
sidechainTxListToScbtList(tl: List[SidechainTransaction[Proposition, Box[Proposition]]]): List[SCBT]
- Definition Classes
- SidechainTypes
-
implicit
def
sidechainTxToScbt(t: SidechainTransaction[Proposition, Box[Proposition]]): SCBT
- Definition Classes
- SidechainTypes
-
val
sparksSettings: SparkzSettings
- Definition Classes
- AbstractSidechainNodeViewHolder → NodeViewHolder
-
def
supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transactionsProcessing: Receive
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
def
trimChainSuffix(suffix: IndexedSeq[PMOD], rollbackPoint: ModifierId): IndexedSeq[PMOD]
- Attributes
- protected
-
def
txModify(tx: TX): Unit
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
def
unhandled(message: Any): Unit
- Definition Classes
- Actor
-
def
updateMemPool(blocksRemoved: Seq[PMOD], blocksApplied: Seq[PMOD], memPool: MP, state: MS): MP
- Attributes
- protected
- Definition Classes
- AbstractSidechainNodeViewHolder → NodeViewHolder
-
def
updateNodeView(updatedHistory: Option[HIS], updatedState: Option[MS], updatedVault: Option[VL], updatedMempool: Option[MP]): Unit
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
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()
- def updateStateAndWallet(history: HIS, state: MS, wallet: VL, progressInfo: ProgressInfo[PMOD], suffixApplied: IndexedSeq[PMOD]): (HIS, Try[MS], VL, Seq[PMOD])
-
def
vault(): VL
- Attributes
- protected
- Definition Classes
- NodeViewHolder
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
def
withdrawalRequestBoxToScb(b: WithdrawalRequestBox): SCB
- Definition Classes
- SidechainTypes
-
implicit
def
zenBoxJavaListToScbtJavaList(bl: List[ZenBox]): List[SCB]
- Definition Classes
- SidechainTypes
-
implicit
def
zenBoxListToScbtList(bl: List[ZenBox]): List[SCB]
- Definition Classes
- SidechainTypes
-
implicit
def
zenBoxSetToScbSet(bs: Set[ZenBox]): Set[SCB]
- Definition Classes
- SidechainTypes
-
implicit
def
zenBoxToScb(b: ZenBox): SCB
- Definition Classes
- SidechainTypes
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated