c

io.horizen.utxo.storage

SidechainStateStorage

class SidechainStateStorage extends SparkzLogging with SidechainStorageInfo with SidechainTypes

Linear Supertypes
SidechainTypes, SidechainStorageInfo, SparkzLogging, StrictLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SidechainStateStorage
  2. SidechainTypes
  3. SidechainStorageInfo
  4. SparkzLogging
  5. StrictLogging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SidechainStateStorage(storage: Storage, sidechainBoxesCompanion: SidechainBoxesCompanion, params: NetworkParams)

Type Members

  1. type SCAT = AccountTransaction[SCP, SCPR]
    Definition Classes
    SidechainTypes
  2. type SCB = Box[SCP]
    Definition Classes
    SidechainTypes
  3. type SCBD = BoxData[SCP, SCB]
    Definition Classes
    SidechainTypes
  4. type SCBT = BoxTransaction[SCP, SCB]
    Definition Classes
    SidechainTypes
  5. type SCP = Proposition
    Definition Classes
    SidechainTypes
  6. type SCPR = Proof[SCP]
    Definition Classes
    SidechainTypes
  7. type SCS = Secret
    Definition Classes
    SidechainTypes

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. implicit def ethereumTxToScat(t: EthereumTransaction): SCAT
    Definition Classes
    SidechainTypes
  9. implicit def forgerBoxListToScbtList(bl: List[ForgerBox]): List[SCB]
    Definition Classes
    SidechainTypes
  10. implicit def forgerBoxToScb(b: ForgerBox): SCB
    Definition Classes
    SidechainTypes
  11. def getBox(boxId: Array[Byte]): Option[Box[Proposition]]
  12. def getCertifiersKeys(withdrawalEpoch: Int): Option[CertifiersKeys]
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def getConsensusEpochNumber: Option[ConsensusEpochNumber]
  15. def getFeePayments(withdrawalEpochNumber: Int): Seq[BlockFeeInfo]
  16. def getForgerList: Option[ForgerList]
  17. def getIterator: StorageIterator
  18. def getKeyRotationProof(withdrawalEpochNumber: Int, indexOfSigner: Int, keyType: Int): Option[KeyRotationProof]
  19. def getLastCertificateReferencedEpoch(): Option[Int]
  20. def getLastCertificateSidechainBlockId(): Option[ModifierId]
  21. def getStorageName: String
    Definition Classes
    SidechainStorageInfo
  22. def getTopQualityCertificate(referencedWithdrawalEpoch: Int): Option[WithdrawalEpochCertificate]
  23. def getUtxoMerkleTreeRoot(withdrawalEpoch: Int): Option[Array[Byte]]
  24. def getWithdrawalEpochCounter(epoch: Int): Int
  25. def getWithdrawalEpochInfo: Option[WithdrawalEpochInfo]
  26. def getWithdrawalRequests(withdrawalEpoch: Int): Seq[WithdrawalRequestBox]
  27. def hasCeased: Boolean
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def isEmpty: Boolean
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def lastVersionId: Option[ByteArrayWrapper]
  32. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  33. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. def restoreBackup(backupStorageBoxIterator: BoxIterator, lastVersion: Array[Byte]): Unit

    This function restores the unspent boxes that come from a ceased sidechain by saving them into the SidechainStateStorage

    This function restores the unspent boxes that come from a ceased sidechain by saving them into the SidechainStateStorage

    backupStorageBoxIterator

    : storage containing the boxes saved from the ceased sidechain

    lastVersion

    : lastVersion

  38. def rollback(version: ByteArrayWrapper): Try[SidechainStateStorage]
  39. def rollbackVersions(maxNumberOfVersions: Int): List[ByteArrayWrapper]
  40. def rollbackVersions(): Seq[ByteArrayWrapper]
  41. implicit def scbToForgerBox(b: SCB): ForgerBox
    Definition Classes
    SidechainTypes
  42. implicit def scbToWithdrawalRequestBox(b: SCB): WithdrawalRequestBox
    Definition Classes
    SidechainTypes
  43. implicit def sidechainTxListToScbtList(tl: List[SidechainTransaction[Proposition, Box[Proposition]]]): List[SCBT]
    Definition Classes
    SidechainTypes
  44. implicit def sidechainTxToScbt(t: SidechainTransaction[Proposition, Box[Proposition]]): SCBT
    Definition Classes
    SidechainTypes
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. def update(version: ByteArrayWrapper, withdrawalEpochInfo: WithdrawalEpochInfo, boxUpdateList: Set[Box[Proposition]], boxIdsRemoveSet: Set[ByteArrayWrapper], withdrawalRequestAppendSeq: Seq[WithdrawalRequestBox], consensusEpoch: ConsensusEpochNumber, topQualityCertificateOpt: Option[WithdrawalEpochCertificate], blockFeeInfo: BlockFeeInfo, utxoMerkleTreeRootOpt: Option[Array[Byte]], scHasCeased: Boolean, forgerListIndexes: Array[Int], forgerListSize: Int, keyRotationProofs: Seq[KeyRotationProof] = Seq.empty[KeyRotationProof], certifiersKeysOption: Option[CertifiersKeys] = None): Try[SidechainStateStorage]
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. implicit def withdrawalRequestBoxToScb(b: WithdrawalRequestBox): SCB
    Definition Classes
    SidechainTypes
  52. implicit def zenBoxJavaListToScbtJavaList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  53. implicit def zenBoxListToScbtList(bl: List[ZenBox]): List[SCB]
    Definition Classes
    SidechainTypes
  54. implicit def zenBoxSetToScbSet(bs: Set[ZenBox]): Set[SCB]
    Definition Classes
    SidechainTypes
  55. 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 SidechainStorageInfo

Inherited from SparkzLogging

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped