c

io.horizen.forge

AbstractForgeMessageBuilder

abstract class AbstractForgeMessageBuilder[TX <: Transaction, H <: SidechainBlockHeaderBase, PM <: SidechainBlockBase[TX, H]] extends SparkzLogging

Linear Supertypes
SparkzLogging, StrictLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractForgeMessageBuilder
  2. SparkzLogging
  3. StrictLogging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractForgeMessageBuilder(mainchainSynchronizer: MainchainSynchronizer, companion: DynamicTypedSerializer[TX, TransactionSerializer[TX]], params: NetworkParams, allowNoWebsocketConnectionInRegtest: Boolean)

Type Members

  1. case class BranchPointInfo(branchPointId: ModifierId, referenceDataToInclude: Seq[MainchainHeaderHash], headersToInclude: Seq[MainchainHeaderHash]) extends Product with Serializable
  2. abstract type FPI <: AbstractFeePaymentsInfo
  3. type ForgeMessageType = GetDataFromCurrentView[HIS, MS, VL, MP, ForgeResult]
  4. abstract type HIS <: AbstractHistory[TX, H, PM, FPI, HSTOR, HIS]
  5. abstract type HSTOR <: AbstractHistoryStorage[PM, FPI, HSTOR]
  6. abstract type MP <: MemoryPool[TX, MP]
  7. abstract type MS <: MinimalState[PM, MS]
  8. abstract type VL <: AbstractWallet[TX, PM, VL]
  9. type View = CurrentView[HIS, MS, VL, MP]

Abstract Value Members

  1. abstract def collectTransactionsFromMemPool(nodeView: View, blockSizeIn: Int, mainchainBlockReferenceData: Seq[MainchainBlockReferenceData], withdrawalEpochInfo: WithdrawalEpochInfo, timestamp: Long, forcedTx: Iterable[TX]): Iterable[TX]
  2. abstract def createNewBlock(nodeView: View, branchPointInfo: BranchPointInfo, isWithdrawalEpochLastBlock: Boolean, parentBlockId: BlockId, timestamp: Timestamp, mainchainReferenceData: Seq[MainchainBlockReferenceData], sidechainTransactions: Iterable[TX], mainchainHeaders: Seq[MainchainHeader], ommers: Seq[Ommer[H]], blockSignPrivateKey: PrivateKey25519, forgingStakeInfo: ForgingStakeInfo, vrfProof: VrfProof, vrfOutput: VrfOutput, forgingStakeInfoMerklePath: MerklePath, companion: DynamicTypedSerializer[TX, TransactionSerializer[TX]], inputBlockSize: Int, signatureOption: Option[Signature25519] = None, isPending: Boolean = false): Try[SidechainBlockBase[TX, _ <: SidechainBlockHeaderBase]]
  3. abstract def getForgingStakeMerklePathInfo(nextConsensusEpochNumber: ConsensusEpochNumber, wallet: VL, history: HIS, state: MS, branchPointInfo: BranchPointInfo, nextBlockTimestamp: Long): Seq[ForgingStakeMerklePathInfo]
  4. abstract def getMaxBlockOverheadSize(): Int
  5. abstract def getMaxBlockSize(): Int
  6. abstract def getOmmersSize(ommers: Seq[Ommer[H]]): Int
  7. abstract def precalculateBlockHeaderSize(parentId: ModifierId, timestamp: Long, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo, vrfProof: VrfProof): Int

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildForgeMessageForEpochAndSlot(consensusEpochNumber: ConsensusEpochNumber, consensusSlotNumber: ConsensusSlotNumber, mcRefDataRetrievalTimeout: Timeout, forcedTx: Iterable[TX]): ForgeMessageType
  6. def checkNextEpochAndSlot(parentBlockTimestamp: Long, currentTipBlockTimestamp: Long, nextEpochNumber: ConsensusEpochNumber, nextSlotNumber: ConsensusSlotNumber): Option[ForgeFailure]
    Attributes
    protected
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def forgeBlock(nodeView: View, timestamp: Long, branchPointInfo: BranchPointInfo, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo, blockSignPrivateKey: PrivateKey25519, vrfProof: VrfProof, vrfOutput: VrfOutput, mcRefDataRetrievalTimeout: Timeout, forcedTx: Iterable[TX], isPending: Boolean = false): ForgeResult
    Attributes
    protected
  11. def getBranchPointInfo(history: HIS): Try[BranchPointInfo]
    Attributes
    protected
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def getSecretsAndProof(wallet: VL, vrfMessage: VrfMessage, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo): Option[(ForgingStakeMerklePathInfo, PrivateKey25519, VrfProof, VrfOutput)]
    Attributes
    protected
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  17. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. val params: NetworkParams
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def tryToForgeNextBlock(nextConsensusEpochNumber: ConsensusEpochNumber, nextConsensusSlotNumber: ConsensusSlotNumber, mcRefDataRetrievalTimeout: Timeout, forcedTx: Iterable[TX])(nodeView: View): ForgeResult
    Attributes
    protected
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from SparkzLogging

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped