class AccountForgeMessageBuilder extends AbstractForgeMessageBuilder[AccountTransaction[Proposition, Proof[Proposition]], AccountBlockHeader, AccountBlock] with ClosableResourceHandler
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AccountForgeMessageBuilder
- ClosableResourceHandler
- AbstractForgeMessageBuilder
- SparkzLogging
- StrictLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AccountForgeMessageBuilder(mainchainSynchronizer: MainchainSynchronizer, companion: SidechainAccountTransactionsCompanion, params: NetworkParams, allowNoWebsocketConnectionInRegtest: Boolean)
Type Members
-
type
FPI = AccountFeePaymentsInfo
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
type
ForgeMessageType = GetDataFromCurrentView[HIS, MS, VL, MP, ForgeResult]
- Definition Classes
- AbstractForgeMessageBuilder
-
type
HIS = AccountHistory
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
type
HSTOR = AccountHistoryStorage
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
type
MP = AccountMemoryPool
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
type
MS = AccountState
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
type
VL = AccountWallet
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
type
View = CurrentView[HIS, MS, VL, MP]
- Definition Classes
- AbstractForgeMessageBuilder
-
case class
BranchPointInfo(branchPointId: ModifierId, referenceDataToInclude: Seq[MainchainHeaderHash], headersToInclude: Seq[MainchainHeaderHash]) extends Product with Serializable
- Definition Classes
- AbstractForgeMessageBuilder
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildForgeMessageForEpochAndSlot(consensusEpochNumber: ConsensusEpochNumber, consensusSlotNumber: ConsensusSlotNumber, mcRefDataRetrievalTimeout: Timeout, forcedTx: Iterable[AccountTransaction[Proposition, Proof[Proposition]]]): ForgeMessageType
- Definition Classes
- AbstractForgeMessageBuilder
-
def
checkNextEpochAndSlot(parentBlockTimestamp: Long, currentTipBlockTimestamp: Long, nextEpochNumber: ConsensusEpochNumber, nextSlotNumber: ConsensusSlotNumber): Option[ForgeFailure]
- Attributes
- protected
- Definition Classes
- AbstractForgeMessageBuilder
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
collectTransactionsFromMemPool(nodeView: View, blockSizeIn: Int, mainchainBlockReferenceData: Seq[MainchainBlockReferenceData], withdrawalEpochInfo: WithdrawalEpochInfo, timestamp: Timestamp, forcedTx: Iterable[AccountTransaction[Proposition, Proof[Proposition]]]): TransactionsByPriceAndNonce
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
- 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)
-
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]]
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
def
getBranchPointInfo(history: HIS): Try[BranchPointInfo]
- Attributes
- protected
- Definition Classes
- AbstractForgeMessageBuilder
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getForgingStakeMerklePathInfo(nextConsensusEpochNumber: ConsensusEpochNumber, wallet: AccountWallet, history: AccountHistory, state: AccountState, branchPointInfo: BranchPointInfo, nextBlockTimestamp: Long): Seq[ForgingStakeMerklePathInfo]
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
def
getMaxBlockOverheadSize(): Int
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
def
getMaxBlockSize(): Int
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
def
getOmmersSize(ommers: Seq[Ommer[AccountBlockHeader]]): Int
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
- def getPendingBlock(nodeView: View): Option[AccountBlock]
-
def
getSecretsAndProof(wallet: VL, vrfMessage: VrfMessage, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo): Option[(ForgingStakeMerklePathInfo, PrivateKey25519, VrfProof, VrfOutput)]
- Attributes
- protected
- Definition Classes
- AbstractForgeMessageBuilder
- def getStateRoot(history: AccountHistory, forgedBlockTimestamp: Long, branchPointInfo: BranchPointInfo): Array[Byte]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
-
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()
-
val
params: NetworkParams
- Definition Classes
- AbstractForgeMessageBuilder
-
def
precalculateBlockHeaderSize(parentId: ModifierId, timestamp: Long, forgingStakeMerklePathInfo: ForgingStakeMerklePathInfo, vrfProof: VrfProof): Int
- Definition Classes
- AccountForgeMessageBuilder → AbstractForgeMessageBuilder
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tryToForgeNextBlock(nextConsensusEpochNumber: ConsensusEpochNumber, nextConsensusSlotNumber: ConsensusSlotNumber, mcRefDataRetrievalTimeout: Timeout, forcedTx: Iterable[AccountTransaction[Proposition, Proof[Proposition]]])(nodeView: View): ForgeResult
- Attributes
- protected
- Definition Classes
- AbstractForgeMessageBuilder
-
def
using[A <: AutoCloseable, B](resource: A)(fun: (A) ⇒ B): B
- Definition Classes
- ClosableResourceHandler
-
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( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated