Package io.horizen.utils
Class AccountStateViewForBootstrap
- java.lang.Object
-
- io.horizen.account.state.StateDbAccountStateView
-
- io.horizen.account.state.AccountStateView
-
- io.horizen.utils.AccountStateViewForBootstrap
-
- All Implemented Interfaces:
com.typesafe.scalalogging.StrictLogging,io.horizen.account.state.AccountStateReader,io.horizen.account.state.BaseAccountStateView,io.horizen.account.storage.MsgProcessorMetadataStorageReader,io.horizen.state.BaseStateReader,io.horizen.state.StateView<io.horizen.account.transaction.AccountTransaction<io.horizen.proposition.Proposition,io.horizen.proof.Proof<io.horizen.proposition.Proposition>>>,AutoCloseable,sparkz.util.SparkzLogging
public class AccountStateViewForBootstrap extends io.horizen.account.state.AccountStateViewUseful in the bootstrapping phase, it returns a view with a null metadatastorage and overrides called methods which would access it
-
-
Constructor Summary
Constructors Constructor Description AccountStateViewForBootstrap(io.horizen.evm.StateDB stateDb, scala.collection.Seq<io.horizen.account.state.MessageProcessor> messageProcessors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConsensusEpochNumberAsInt()-
Methods inherited from class io.horizen.account.state.AccountStateView
addTopQualityCertificates, commit, getAccountStateRoot, getConsensusEpochNumber, getFeePaymentsInfo, getFeePaymentsInfo$default$3, getFeePaymentsInfo$default$4, getForgerBlockCounters, getForgerRewards, getForgersAndDelegatorsShares, getMcForgerPoolRewards, getNextBaseFee, getTopQualityCertificate, getTransactionReceipt, getWithdrawalEpochInfo, hasCeased, setCeased, subtractForgerPoolBalanceAndResetBlockCounters, updateConsensusEpochNumber, updateFeePaymentInfo, updateForgerBlockCounter, updateNextBaseFee, updateTopQualityCertificate, updateTransactionReceipts, updateWithdrawalEpochInfo
-
Methods inherited from class io.horizen.account.state.StateDbAccountStateView
$lessinit$greater$default$3, accountExists, addAccount, addBalance, addLog, applyMainchainBlockReferenceData, applyMainchainBlockReferenceData$default$2, applyMessage, applyTransaction, certificateKeysProvider, certifiersKeys, close, com$typesafe$scalalogging$StrictLogging$_setter_$logger_$eq, disableWriteProtection, enableWriteProtection, finalizeChanges, forgerStakesProvider, forgerStakesV2IsActive, forgerStakesV2Provider, getAccountStorage, getAccountStorageBytes, getAllowedForgerList, getBalance, getCode, getCodeHash, getForgerInfo, getForgerStakeData, getGasTrackedView, getIntermediateRoot, getListOfForgersStakes, getListOfMcAddrOwnerships, getListOfMcAddrOwnerships$default$1, getListOfOwnerScAddresses, getLogs, getNativeSmartContractAddressList, getNonce, getOrderedForgingStakesInfoSeq, getPagedForgersStakesByDelegator, getPagedForgersStakesByForger, getPagedListOfForgersStakes, getProof, getRefund, getStateDbHandle, getWithdrawalRequests, increaseNonce, isEoaAccount, isForgerStakeAvailable, isForgerStakeV1SmartContractDisabled, isForgingOpen, isSmartContractAccount, keyRotationProof, listOfNativeSmartContractAddresses, log, logger, mcAddrOwnershipProvider, ownershipDataExist, readOnly, readOnly_$eq, removeAccountStorage, removeAccountStorageBytes, revertToSnapshot, setupAccessList, setupTxContext, snapshot, subBalance, updateAccountStorage, updateAccountStorageBytes, withdrawalReqProvider
-
-