Packages

c

io.horizen.utxo.forge

ForgeMessageBuilder

class ForgeMessageBuilder extends AbstractForgeMessageBuilder[BoxTransaction[Proposition, Box[Proposition]], SidechainBlockHeader, SidechainBlock]

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

Instance Constructors

  1. new ForgeMessageBuilder(mainchainSynchronizer: MainchainSynchronizer, companion: SidechainTransactionsCompanion, params: NetworkParams, allowNoWebsocketConnectionInRegtest: Boolean)

Type Members

  1. case class BranchPointInfo(branchPointId: ModifierId, referenceDataToInclude: Seq[MainchainHeaderHash], headersToInclude: Seq[MainchainHeaderHash]) extends Product with Serializable
    Definition Classes
    AbstractForgeMessageBuilder
  2. type FPI = SidechainFeePaymentsInfo
  3. type ForgeMessageType = GetDataFromCurrentView[HIS, MS, VL, MP, ForgeResult]
    Definition Classes
    AbstractForgeMessageBuilder
  4. type HIS = SidechainHistory
  5. type HSTOR = SidechainHistoryStorage
  6. type MP = SidechainMemoryPool
  7. type MS = SidechainState
  8. type VL = SidechainWallet
  9. type View = CurrentView[HIS, MS, VL, MP]
    Definition Classes
    AbstractForgeMessageBuilder

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[BoxTransaction[Proposition, Box[Proposition]]]): ForgeMessageType
    Definition Classes
    AbstractForgeMessageBuilder
  6. def checkNextEpochAndSlot(parentBlockTimestamp: Long, currentTipBlockTimestamp: Long, nextEpochNumber: ConsensusEpochNumber, nextSlotNumber: ConsensusSlotNumber): Option[ForgeFailure]
    Attributes
    protected
    Definition Classes
    AbstractForgeMessageBuilder
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def collectTransactionsFromMemPool(nodeView: View, blockSizeIn: Int, mainchainBlockReferenceData: Seq[MainchainBlockReferenceData], withdrawalEpochInfo: WithdrawalEpochInfo, timestamp: Long, forcedTx: Iterable[BoxTransaction[Proposition, Box[Proposition]]]): Iterable[BoxTransaction[Proposition, Box[Proposition]]]
  9. def createNewBlock(nodeView: View, branchPointInfo: BranchPointInfo, isWithdrawalEpochLastBlock: Boolean, parentId: BlockId, timestamp: Timestamp, mainchainBlockReferencesData: Seq[MainchainBlockReferenceData], sidechainTransactions: Iterable[BoxTransaction[Proposition, Box[Proposition]]], mainchainHeaders: Seq[MainchainHeader], ommers: Seq[Ommer[SidechainBlockHeader]], ownerPrivateKey: PrivateKey25519, forgingStakeInfo: ForgingStakeInfo, vrfProof: VrfProof, vrfOutput: VrfOutput, forgingStakeInfoMerklePath: MerklePath, companion: DynamicTypedSerializer[BoxTransaction[Proposition, Box[Proposition]], TransactionSerializer[BoxTransaction[Proposition, Box[Proposition]]]], inputBlockSize: Int, signatureOption: Option[Signature25519], isPending: Boolean = false): Try[SidechainBlockBase[BoxTransaction[Proposition, Box[Proposition]], SidechainBlockHeader]]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def forgeBlock(nodeView: View, timestamp: Long, branchPointInfo: BranchPointInfo, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo, blockSignPrivateKey: PrivateKey25519, vrfProof: VrfProof, vrfOutput: VrfOutput, mcRefDataRetrievalTimeout: Timeout, forcedTx: Iterable[BoxTransaction[Proposition, Box[Proposition]]], isPending: Boolean = false): ForgeResult
    Attributes
    protected
    Definition Classes
    AbstractForgeMessageBuilder
  13. def getBranchPointInfo(history: HIS): Try[BranchPointInfo]
    Attributes
    protected
    Definition Classes
    AbstractForgeMessageBuilder
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def getForgingStakeMerklePathInfo(nextConsensusEpochNumber: ConsensusEpochNumber, wallet: SidechainWallet, history: SidechainHistory, state: SidechainState, branchPointInfo: BranchPointInfo, nextBlockTimestamp: Long): Seq[ForgingStakeMerklePathInfo]
  16. def getMaxBlockOverheadSize(): Int
  17. def getMaxBlockSize(): Int
  18. def getOmmersSize(ommers: Seq[Ommer[SidechainBlockHeader]]): Int
  19. def getSecretsAndProof(wallet: VL, vrfMessage: VrfMessage, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo): Option[(ForgingStakeMerklePathInfo, PrivateKey25519, VrfProof, VrfOutput)]
    Attributes
    protected
    Definition Classes
    AbstractForgeMessageBuilder
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  23. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. val params: NetworkParams
    Definition Classes
    AbstractForgeMessageBuilder
  28. def precalculateBlockHeaderSize(parentId: ModifierId, timestamp: Long, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo, vrfProof: VrfProof): Int
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def tryToForgeNextBlock(nextConsensusEpochNumber: ConsensusEpochNumber, nextConsensusSlotNumber: ConsensusSlotNumber, mcRefDataRetrievalTimeout: Timeout, forcedTx: Iterable[BoxTransaction[Proposition, Box[Proposition]]])(nodeView: View): ForgeResult
    Attributes
    protected
    Definition Classes
    AbstractForgeMessageBuilder
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. 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