Packages

c

io.horizen.account.forger

AccountForgeMessageBuilder

class AccountForgeMessageBuilder extends AbstractForgeMessageBuilder[AccountTransaction[Proposition, Proof[Proposition]], AccountBlockHeader, AccountBlock] with ClosableResourceHandler

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AccountForgeMessageBuilder
  2. ClosableResourceHandler
  3. AbstractForgeMessageBuilder
  4. SparkzLogging
  5. StrictLogging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AccountForgeMessageBuilder(mainchainSynchronizer: MainchainSynchronizer, companion: SidechainAccountTransactionsCompanion, params: NetworkParams, allowNoWebsocketConnectionInRegtest: Boolean)

Type Members

  1. type FPI = AccountFeePaymentsInfo
  2. type ForgeMessageType = GetDataFromCurrentView[HIS, MS, VL, MP, ForgeResult]
    Definition Classes
    AbstractForgeMessageBuilder
  3. type HIS = AccountHistory
  4. type HSTOR = AccountHistoryStorage
  5. type MP = AccountMemoryPool
  6. type MS = AccountState
  7. type VL = AccountWallet
  8. type View = CurrentView[HIS, MS, VL, MP]
    Definition Classes
    AbstractForgeMessageBuilder
  9. case class BranchPointInfo(branchPointId: ModifierId, referenceDataToInclude: Seq[MainchainHeaderHash], headersToInclude: Seq[MainchainHeaderHash]) extends Product with Serializable
    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[AccountTransaction[Proposition, Proof[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: Timestamp, forcedTx: Iterable[AccountTransaction[Proposition, Proof[Proposition]]]): TransactionsByPriceAndNonce
  9. def computeBlockInfo(view: AccountStateView, sidechainTransactions: Iterable[AccountTransaction[Proposition, Proof[Proposition]]], mainchainBlockReferencesData: Seq[MainchainBlockReferenceData], blockContext: BlockContext, forgerAddress: AddressProposition, blockSize: Long): (Seq[EthereumConsensusDataReceipt], Seq[AccountTransaction[Proposition, Proof[Proposition]]], AccountBlockFeeInfo)
  10. def createNewBlock(nodeView: View, branchPointInfo: BranchPointInfo, isWithdrawalEpochLastBlock: Boolean, parentId: BlockId, timestamp: Timestamp, mainchainBlockReferencesData: Seq[MainchainBlockReferenceData], sidechainTransactions: Iterable[AccountTransaction[Proposition, Proof[Proposition]]], mainchainHeaders: Seq[MainchainHeader], ommers: Seq[Ommer[AccountBlockHeader]], ownerPrivateKey: PrivateKey25519, forgingStakeInfo: ForgingStakeInfo, vrfProof: VrfProof, vrfOutput: VrfOutput, forgingStakeInfoMerklePath: MerklePath, companion: DynamicTypedSerializer[AccountTransaction[Proposition, Proof[Proposition]], TransactionSerializer[AccountTransaction[Proposition, Proof[Proposition]]]], inputBlockSize: Int, signatureOption: Option[Signature25519], isPending: Boolean = false): Try[SidechainBlockBase[AccountTransaction[Proposition, Proof[Proposition]], AccountBlockHeader]]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def forgeBlock(nodeView: View, timestamp: Long, branchPointInfo: BranchPointInfo, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo, blockSignPrivateKey: PrivateKey25519, vrfProof: VrfProof, vrfOutput: VrfOutput, mcRefDataRetrievalTimeout: Timeout, forcedTx: Iterable[AccountTransaction[Proposition, Proof[Proposition]]], isPending: Boolean = false): ForgeResult
    Attributes
    protected
    Definition Classes
    AbstractForgeMessageBuilder
  14. def getBranchPointInfo(history: HIS): Try[BranchPointInfo]
    Attributes
    protected
    Definition Classes
    AbstractForgeMessageBuilder
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def getForgingStakeMerklePathInfo(nextConsensusEpochNumber: ConsensusEpochNumber, wallet: AccountWallet, history: AccountHistory, state: AccountState, branchPointInfo: BranchPointInfo, nextBlockTimestamp: Long): Seq[ForgingStakeMerklePathInfo]
  17. def getMaxBlockOverheadSize(): Int
  18. def getMaxBlockSize(): Int
  19. def getOmmersSize(ommers: Seq[Ommer[AccountBlockHeader]]): Int
  20. def getPendingBlock(nodeView: View): Option[AccountBlock]
  21. def getSecretsAndProof(wallet: VL, vrfMessage: VrfMessage, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo): Option[(ForgingStakeMerklePathInfo, PrivateKey25519, VrfProof, VrfOutput)]
    Attributes
    protected
    Definition Classes
    AbstractForgeMessageBuilder
  22. def getStateRoot(history: AccountHistory, forgedBlockTimestamp: Long, branchPointInfo: BranchPointInfo): Array[Byte]
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def log: Logger
    Attributes
    protected
    Definition Classes
    SparkzLogging
    Annotations
    @inline()
  26. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. val params: NetworkParams
    Definition Classes
    AbstractForgeMessageBuilder
  31. def precalculateBlockHeaderSize(parentId: ModifierId, timestamp: Long, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo, vrfProof: VrfProof): Int
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def tryToForgeNextBlock(nextConsensusEpochNumber: ConsensusEpochNumber, nextConsensusSlotNumber: ConsensusSlotNumber, mcRefDataRetrievalTimeout: Timeout, forcedTx: Iterable[AccountTransaction[Proposition, Proof[Proposition]]])(nodeView: View): ForgeResult
    Attributes
    protected
    Definition Classes
    AbstractForgeMessageBuilder
  35. def using[A <: AutoCloseable, B](resource: A)(fun: (A) ⇒ B): B
    Definition Classes
    ClosableResourceHandler
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. 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 ClosableResourceHandler

Inherited from SparkzLogging

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped