disabled

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: GPL-3.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessageSignVerifier

func NewMessageSignVerifier(kg crypto.KeyGenerator) (*messageSignVerifier, error)

NewMessageSignVerifier creates a new message sign verifier - which verifies only the public key validity

Types

type BalanceComputationHandler

type BalanceComputationHandler struct {
}

BalanceComputationHandler implements BalanceComputationHandler interface but does nothing as it is a disabled component

func (*BalanceComputationHandler) AddBalanceToAddress

func (b *BalanceComputationHandler) AddBalanceToAddress(_ []byte, _ *big.Int) bool

AddBalanceToAddress returns true as it is a disabled component

func (*BalanceComputationHandler) AddressHasEnoughBalance

func (b *BalanceComputationHandler) AddressHasEnoughBalance(_ []byte, _ *big.Int) bool

AddressHasEnoughBalance returns true as it is a disabled component

func (*BalanceComputationHandler) Init

func (b *BalanceComputationHandler) Init()

Init does nothing as it is a disabled component

func (*BalanceComputationHandler) IsAddressSet

func (b *BalanceComputationHandler) IsAddressSet(_ []byte) bool

IsAddressSet returns true as it is a disabled component

func (*BalanceComputationHandler) IsInterfaceNil

func (b *BalanceComputationHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if underlying object is nil

func (*BalanceComputationHandler) SetBalanceToAddress

func (b *BalanceComputationHandler) SetBalanceToAddress(_ []byte, _ *big.Int)

SetBalanceToAddress does nothing as it is a disabled component

func (*BalanceComputationHandler) SubBalanceFromAddress

func (b *BalanceComputationHandler) SubBalanceFromAddress(_ []byte, _ *big.Int) bool

SubBalanceFromAddress returns true as it is a disabled component

type BlockSizeComputationHandler

type BlockSizeComputationHandler struct {
}

BlockSizeComputationHandler implements the BlockSizeComputationHandler interface but does nothing as it is disabled

func (*BlockSizeComputationHandler) AddNumMiniBlocks

func (b *BlockSizeComputationHandler) AddNumMiniBlocks(_ int)

AddNumMiniBlocks does nothing as it is a disabled component

func (*BlockSizeComputationHandler) AddNumTxs

func (b *BlockSizeComputationHandler) AddNumTxs(_ int)

AddNumTxs does nothing as it is a disabled component

func (*BlockSizeComputationHandler) Init

func (b *BlockSizeComputationHandler) Init()

Init does nothing as it is a disabled component

func (*BlockSizeComputationHandler) IsInterfaceNil

func (b *BlockSizeComputationHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if underlying object is nil

func (*BlockSizeComputationHandler) IsMaxBlockSizeReached

func (b *BlockSizeComputationHandler) IsMaxBlockSizeReached(_ int, _ int) bool

IsMaxBlockSizeReached returns false as it is a disabled components

func (*BlockSizeComputationHandler) IsMaxBlockSizeWithoutThrottleReached

func (b *BlockSizeComputationHandler) IsMaxBlockSizeWithoutThrottleReached(_ int, _ int) bool

IsMaxBlockSizeWithoutThrottleReached returns false as it is a disabled component

type BlockTracker

type BlockTracker struct {
}

BlockTracker implements the BlockTracker interface but does nothing as it is disabled

func (*BlockTracker) IsInterfaceNil

func (b *BlockTracker) IsInterfaceNil() bool

IsInterfaceNil returns true if underlying object is nil

func (*BlockTracker) IsShardStuck

func (b *BlockTracker) IsShardStuck(_ uint32) bool

IsShardStuck returns false as this is a disabled implementation

func (*BlockTracker) ShouldSkipMiniBlocksCreationFromSelf

func (b *BlockTracker) ShouldSkipMiniBlocksCreationFromSelf() bool

ShouldSkipMiniBlocksCreationFromSelf returns false as this is a disabled implementation

type ESDTGlobalSettingsHandler

type ESDTGlobalSettingsHandler struct {
}

ESDTGlobalSettingsHandler implements the ESDTGlobalSettingsHandler interface but does nothing as it is disabled

func (*ESDTGlobalSettingsHandler) IsInterfaceNil

func (e *ESDTGlobalSettingsHandler) IsInterfaceNil() bool

IsInterfaceNil return true if underlying object is nil

func (*ESDTGlobalSettingsHandler) IsLimitedTransfer

func (e *ESDTGlobalSettingsHandler) IsLimitedTransfer(_ []byte) bool

IsLimitedTransfer is disabled

func (*ESDTGlobalSettingsHandler) IsPaused

func (e *ESDTGlobalSettingsHandler) IsPaused(_ []byte) bool

IsPaused is disabled

type FeeHandler

type FeeHandler struct {
}

FeeHandler represents a disabled fee handler implementation

func (*FeeHandler) CheckValidityTxValues

func (fh *FeeHandler) CheckValidityTxValues(_ data.TransactionWithFeeHandler) error

CheckValidityTxValues returns nil

func (*FeeHandler) ComputeFeeForProcessing

func (fh *FeeHandler) ComputeFeeForProcessing(_ data.TransactionWithFeeHandler, _ uint64) *big.Int

ComputeFeeForProcessing returns 0

func (*FeeHandler) ComputeGasLimit

func (fh *FeeHandler) ComputeGasLimit(_ data.TransactionWithFeeHandler) uint64

ComputeGasLimit returns 0

func (*FeeHandler) ComputeGasLimitBasedOnBalance

func (fh *FeeHandler) ComputeGasLimitBasedOnBalance(_ data.TransactionWithFeeHandler, _ *big.Int) (uint64, error)

ComputeGasLimitBasedOnBalance returns 0 and nil

func (*FeeHandler) ComputeGasUsedAndFeeBasedOnRefundValue

func (fh *FeeHandler) ComputeGasUsedAndFeeBasedOnRefundValue(_ data.TransactionWithFeeHandler, _ *big.Int) (uint64, *big.Int)

ComputeGasUsedAndFeeBasedOnRefundValue returns 0, 0

func (*FeeHandler) ComputeMoveBalanceFee

func (fh *FeeHandler) ComputeMoveBalanceFee(_ data.TransactionWithFeeHandler) *big.Int

ComputeMoveBalanceFee returns 0

func (*FeeHandler) ComputeTxFee

func (fh *FeeHandler) ComputeTxFee(_ data.TransactionWithFeeHandler) *big.Int

ComputeTxFee returns 0

func (*FeeHandler) ComputeTxFeeBasedOnGasUsed

func (fh *FeeHandler) ComputeTxFeeBasedOnGasUsed(_ data.TransactionWithFeeHandler, _ uint64) *big.Int

ComputeTxFeeBasedOnGasUsed returns 0

func (*FeeHandler) CreateBlockStarted

func (fh *FeeHandler) CreateBlockStarted(_ scheduled.GasAndFees)

CreateBlockStarted does nothing

func (*FeeHandler) DeveloperPercentage

func (fh *FeeHandler) DeveloperPercentage() float64

DeveloperPercentage returns 0

func (*FeeHandler) ExtraGasLimitGuardedTx added in v1.5.0

func (fh *FeeHandler) ExtraGasLimitGuardedTx() uint64

ExtraGasLimitGuardedTx returns 0

func (*FeeHandler) GasPerDataByte

func (fh *FeeHandler) GasPerDataByte() uint64

GasPerDataByte returns 0

func (*FeeHandler) GasPriceForMove

func (fh *FeeHandler) GasPriceForMove(_ data.TransactionWithFeeHandler) uint64

GasPriceForMove returns 0

func (*FeeHandler) GasPriceForProcessing

func (fh *FeeHandler) GasPriceForProcessing(_ data.TransactionWithFeeHandler) uint64

GasPriceForProcessing returns 0

func (*FeeHandler) GasPriceModifier

func (fh *FeeHandler) GasPriceModifier() float64

GasPriceModifier returns 1.0

func (*FeeHandler) GenesisTotalSupply

func (fh *FeeHandler) GenesisTotalSupply() *big.Int

GenesisTotalSupply returns 0

func (*FeeHandler) GetAccumulatedFees

func (fh *FeeHandler) GetAccumulatedFees() *big.Int

GetAccumulatedFees returns 0

func (*FeeHandler) GetDeveloperFees

func (fh *FeeHandler) GetDeveloperFees() *big.Int

GetDeveloperFees returns 0

func (*FeeHandler) IsInterfaceNil

func (fh *FeeHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*FeeHandler) MaxGasLimitPerBlock

func (fh *FeeHandler) MaxGasLimitPerBlock(uint32) uint64

MaxGasLimitPerBlock returns max uint64

func (*FeeHandler) MaxGasLimitPerBlockForSafeCrossShard

func (fh *FeeHandler) MaxGasLimitPerBlockForSafeCrossShard() uint64

MaxGasLimitPerBlockForSafeCrossShard returns max uint64

func (*FeeHandler) MaxGasLimitPerMiniBlock

func (fh *FeeHandler) MaxGasLimitPerMiniBlock(uint32) uint64

MaxGasLimitPerMiniBlock returns max uint64

func (*FeeHandler) MaxGasLimitPerMiniBlockForSafeCrossShard

func (fh *FeeHandler) MaxGasLimitPerMiniBlockForSafeCrossShard() uint64

MaxGasLimitPerMiniBlockForSafeCrossShard returns max uint64

func (*FeeHandler) MaxGasLimitPerTx

func (fh *FeeHandler) MaxGasLimitPerTx() uint64

MaxGasLimitPerTx returns max uint64

func (*FeeHandler) MaxGasPriceSetGuardian added in v1.5.0

func (fh *FeeHandler) MaxGasPriceSetGuardian() uint64

MaxGasPriceSetGuardian returns 0

func (*FeeHandler) MinGasLimit

func (fh *FeeHandler) MinGasLimit() uint64

MinGasLimit returns 0

func (*FeeHandler) MinGasPrice

func (fh *FeeHandler) MinGasPrice() uint64

MinGasPrice returns 0

func (*FeeHandler) MinGasPriceForProcessing

func (fh *FeeHandler) MinGasPriceForProcessing() uint64

MinGasPriceForProcessing returns 0

func (*FeeHandler) ProcessTransactionFee

func (fh *FeeHandler) ProcessTransactionFee(_ *big.Int, _ *big.Int, _ []byte)

ProcessTransactionFee does nothing

func (*FeeHandler) ProcessTransactionFeeRelayedUserTx

func (fh *FeeHandler) ProcessTransactionFeeRelayedUserTx(_ *big.Int, _ *big.Int, _ []byte, _ []byte)

ProcessTransactionFeeRelayedUserTx does nothing

func (*FeeHandler) RevertFees

func (fh *FeeHandler) RevertFees(_ [][]byte)

RevertFees does nothing

func (*FeeHandler) SplitTxGasInCategories

func (fh *FeeHandler) SplitTxGasInCategories(_ data.TransactionWithFeeHandler) (uint64, uint64)

SplitTxGasInCategories returns 0, 0

type ProcessedMiniBlocksTracker

type ProcessedMiniBlocksTracker struct {
}

ProcessedMiniBlocksTracker implements the ProcessedMiniBlocksTracker interface but does nothing as it is disabled

func (*ProcessedMiniBlocksTracker) ConvertProcessedMiniBlocksMapToSlice

func (pmbt *ProcessedMiniBlocksTracker) ConvertProcessedMiniBlocksMapToSlice() []bootstrapStorage.MiniBlocksInMeta

ConvertProcessedMiniBlocksMapToSlice returns nil as it is a disabled component

func (*ProcessedMiniBlocksTracker) ConvertSliceToProcessedMiniBlocksMap

func (pmbt *ProcessedMiniBlocksTracker) ConvertSliceToProcessedMiniBlocksMap(_ []bootstrapStorage.MiniBlocksInMeta)

ConvertSliceToProcessedMiniBlocksMap does nothing as it is a disabled component

func (*ProcessedMiniBlocksTracker) DisplayProcessedMiniBlocks

func (pmbt *ProcessedMiniBlocksTracker) DisplayProcessedMiniBlocks()

DisplayProcessedMiniBlocks does nothing as it is a disabled component

func (*ProcessedMiniBlocksTracker) GetProcessedMiniBlockInfo

func (pmbt *ProcessedMiniBlocksTracker) GetProcessedMiniBlockInfo(_ []byte) (*processedMb.ProcessedMiniBlockInfo, []byte)

GetProcessedMiniBlockInfo returns nil as it is a disabled component

func (*ProcessedMiniBlocksTracker) GetProcessedMiniBlocksInfo

func (pmbt *ProcessedMiniBlocksTracker) GetProcessedMiniBlocksInfo(_ []byte) map[string]*processedMb.ProcessedMiniBlockInfo

GetProcessedMiniBlocksInfo returns nil as it is a disabled component

func (*ProcessedMiniBlocksTracker) IsInterfaceNil

func (pmbt *ProcessedMiniBlocksTracker) IsInterfaceNil() bool

IsInterfaceNil returns true if underlying object is nil

func (*ProcessedMiniBlocksTracker) IsMiniBlockFullyProcessed

func (pmbt *ProcessedMiniBlocksTracker) IsMiniBlockFullyProcessed(_ []byte, _ []byte) bool

IsMiniBlockFullyProcessed returns false as it is a disabled component

func (*ProcessedMiniBlocksTracker) RemoveMetaBlockHash

func (pmbt *ProcessedMiniBlocksTracker) RemoveMetaBlockHash(_ []byte)

RemoveMetaBlockHash does nothing as it is a disabled component

func (*ProcessedMiniBlocksTracker) RemoveMiniBlockHash

func (pmbt *ProcessedMiniBlocksTracker) RemoveMiniBlockHash(_ []byte)

RemoveMiniBlockHash does nothing as it is a disabled component

func (*ProcessedMiniBlocksTracker) SetProcessedMiniBlockInfo

func (pmbt *ProcessedMiniBlocksTracker) SetProcessedMiniBlockInfo(_ []byte, _ []byte, _ *processedMb.ProcessedMiniBlockInfo)

SetProcessedMiniBlockInfo does nothing as it is a disabled component

type Rater

type Rater struct {
}

Rater implements the Rater interface, it does nothing as it is disabled

func (*Rater) GetChance

func (r *Rater) GetChance(_ uint32) uint32

GetChance does nothing as it is disabled

func (*Rater) IsInterfaceNil

func (r *Rater) IsInterfaceNil() bool

IsInterfaceNil returns true if underlying object is nil

type RequestHandler

type RequestHandler struct {
}

RequestHandler implements the RequestHandler interface but does nothing as it is disabled

func (*RequestHandler) CreateTrieNodeIdentifier

func (r *RequestHandler) CreateTrieNodeIdentifier(_ []byte, _ uint32) []byte

CreateTrieNodeIdentifier returns an empty slice

func (*RequestHandler) GetNumPeersToQuery

func (r *RequestHandler) GetNumPeersToQuery(_ string) (int, int, error)

GetNumPeersToQuery returns 0, 0 and nil

func (*RequestHandler) IsInterfaceNil

func (r *RequestHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*RequestHandler) RequestInterval

func (r *RequestHandler) RequestInterval() time.Duration

RequestInterval returns one second

func (*RequestHandler) RequestMetaHeader

func (r *RequestHandler) RequestMetaHeader(_ []byte)

RequestMetaHeader does nothing

func (*RequestHandler) RequestMetaHeaderByNonce

func (r *RequestHandler) RequestMetaHeaderByNonce(_ uint64)

RequestMetaHeaderByNonce does nothing

func (*RequestHandler) RequestMiniBlock

func (r *RequestHandler) RequestMiniBlock(_ uint32, _ []byte)

RequestMiniBlock does nothing

func (*RequestHandler) RequestMiniBlocks

func (r *RequestHandler) RequestMiniBlocks(_ uint32, _ [][]byte)

RequestMiniBlocks does nothing

func (*RequestHandler) RequestPeerAuthenticationsByHashes

func (r *RequestHandler) RequestPeerAuthenticationsByHashes(_ uint32, _ [][]byte)

RequestPeerAuthenticationsByHashes does nothing

func (*RequestHandler) RequestRewardTransactions

func (r *RequestHandler) RequestRewardTransactions(_ uint32, _ [][]byte)

RequestRewardTransactions does nothing

func (*RequestHandler) RequestShardHeader

func (r *RequestHandler) RequestShardHeader(_ uint32, _ []byte)

RequestShardHeader does nothing

func (*RequestHandler) RequestShardHeaderByNonce

func (r *RequestHandler) RequestShardHeaderByNonce(_ uint32, _ uint64)

RequestShardHeaderByNonce does nothing

func (*RequestHandler) RequestStartOfEpochMetaBlock

func (r *RequestHandler) RequestStartOfEpochMetaBlock(_ uint32)

RequestStartOfEpochMetaBlock does nothing

func (*RequestHandler) RequestTransaction

func (r *RequestHandler) RequestTransaction(_ uint32, _ [][]byte)

RequestTransaction does nothing

func (*RequestHandler) RequestTrieNode

func (r *RequestHandler) RequestTrieNode(_ []byte, _ string, _ uint32)

RequestTrieNode does nothing

func (*RequestHandler) RequestTrieNodes

func (r *RequestHandler) RequestTrieNodes(_ uint32, _ [][]byte, _ string)

RequestTrieNodes does nothing

func (*RequestHandler) RequestUnsignedTransactions

func (r *RequestHandler) RequestUnsignedTransactions(_ uint32, _ [][]byte)

RequestUnsignedTransactions does nothing

func (*RequestHandler) RequestValidatorInfo

func (r *RequestHandler) RequestValidatorInfo(_ []byte)

RequestValidatorInfo does nothing

func (*RequestHandler) RequestValidatorsInfo

func (r *RequestHandler) RequestValidatorsInfo(_ [][]byte)

RequestValidatorsInfo does nothing

func (*RequestHandler) SetEpoch

func (r *RequestHandler) SetEpoch(_ uint32)

SetEpoch does nothing

func (*RequestHandler) SetNumPeersToQuery

func (r *RequestHandler) SetNumPeersToQuery(_ string, _ int, _ int) error

SetNumPeersToQuery returns nil

type RewardTxProcessor

type RewardTxProcessor struct {
}

RewardTxProcessor implements the RewardTransactionProcessor interface but does nothing as it is disabled

func (*RewardTxProcessor) IsInterfaceNil

func (rtp *RewardTxProcessor) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*RewardTxProcessor) ProcessRewardTransaction

func (rtp *RewardTxProcessor) ProcessRewardTransaction(_ *rewardTx.RewardTx) error

ProcessRewardTransaction does nothing as it is disabled

type ScheduledTxsExecutionHandler

type ScheduledTxsExecutionHandler struct {
}

ScheduledTxsExecutionHandler implements ScheduledTxsExecutionHandler interface but does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) AddScheduledMiniBlocks

func (steh *ScheduledTxsExecutionHandler) AddScheduledMiniBlocks(_ block.MiniBlockSlice)

AddScheduledMiniBlocks does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) AddScheduledTx

func (steh *ScheduledTxsExecutionHandler) AddScheduledTx(_ []byte, _ data.TransactionHandler) bool

AddScheduledTx does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) Execute

func (steh *ScheduledTxsExecutionHandler) Execute(_ []byte) error

Execute does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) ExecuteAll

func (steh *ScheduledTxsExecutionHandler) ExecuteAll(_ func() time.Duration) error

ExecuteAll does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) GetScheduledGasAndFees

func (steh *ScheduledTxsExecutionHandler) GetScheduledGasAndFees() scheduled.GasAndFees

GetScheduledGasAndFees returns a zero value structure for the gas and fees

func (*ScheduledTxsExecutionHandler) GetScheduledIntermediateTxs

func (steh *ScheduledTxsExecutionHandler) GetScheduledIntermediateTxs() map[block.Type][]data.TransactionHandler

GetScheduledIntermediateTxs does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) GetScheduledMiniBlocks

func (steh *ScheduledTxsExecutionHandler) GetScheduledMiniBlocks() block.MiniBlockSlice

GetScheduledMiniBlocks does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) GetScheduledRootHash

func (steh *ScheduledTxsExecutionHandler) GetScheduledRootHash() []byte

GetScheduledRootHash does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) GetScheduledRootHashForHeader

func (steh *ScheduledTxsExecutionHandler) GetScheduledRootHashForHeader(_ []byte) ([]byte, error)

GetScheduledRootHashForHeader does nothing as it is disabled

func (*ScheduledTxsExecutionHandler) GetScheduledRootHashForHeaderWithEpoch

func (steh *ScheduledTxsExecutionHandler) GetScheduledRootHashForHeaderWithEpoch(_ []byte, _ uint32) ([]byte, error)

GetScheduledRootHashForHeaderWithEpoch does nothing as it is disabled

func (*ScheduledTxsExecutionHandler) Init

func (steh *ScheduledTxsExecutionHandler) Init()

Init does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) IsInterfaceNil

func (steh *ScheduledTxsExecutionHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if underlying object is nil

func (*ScheduledTxsExecutionHandler) IsMiniBlockExecuted

func (steh *ScheduledTxsExecutionHandler) IsMiniBlockExecuted(_ []byte) bool

IsMiniBlockExecuted always returns false as it is a disabled component

func (*ScheduledTxsExecutionHandler) IsScheduledTx

func (steh *ScheduledTxsExecutionHandler) IsScheduledTx(_ []byte) bool

IsScheduledTx always returns false as it is a disabled component

func (*ScheduledTxsExecutionHandler) RollBackToBlock

func (steh *ScheduledTxsExecutionHandler) RollBackToBlock(_ []byte) error

RollBackToBlock does nothing as it is disabled

func (*ScheduledTxsExecutionHandler) SaveState

func (steh *ScheduledTxsExecutionHandler) SaveState(
	_ []byte,
	_ *process.ScheduledInfo,
)

SaveState does nothing as it is disabled

func (*ScheduledTxsExecutionHandler) SaveStateIfNeeded

func (steh *ScheduledTxsExecutionHandler) SaveStateIfNeeded(_ []byte)

SaveStateIfNeeded does nothing as it is disabled

func (*ScheduledTxsExecutionHandler) SetScheduledGasAndFees

func (steh *ScheduledTxsExecutionHandler) SetScheduledGasAndFees(_ scheduled.GasAndFees)

SetScheduledGasAndFees does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) SetScheduledInfo

func (steh *ScheduledTxsExecutionHandler) SetScheduledInfo(_ *process.ScheduledInfo)

SetScheduledInfo does nothing as it is disabled

func (*ScheduledTxsExecutionHandler) SetScheduledRootHash

func (steh *ScheduledTxsExecutionHandler) SetScheduledRootHash(_ []byte)

SetScheduledRootHash does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) SetTransactionCoordinator

func (steh *ScheduledTxsExecutionHandler) SetTransactionCoordinator(_ process.TransactionCoordinator)

SetTransactionCoordinator does nothing as it is a disabled component

func (*ScheduledTxsExecutionHandler) SetTransactionProcessor

func (steh *ScheduledTxsExecutionHandler) SetTransactionProcessor(_ process.TransactionProcessor)

SetTransactionProcessor does nothing as it is a disabled component

type SimpleNFTStorage

type SimpleNFTStorage struct {
}

SimpleNFTStorage implements the SimpleNFTStorage interface but does nothing as it is disabled

func (*SimpleNFTStorage) GetESDTNFTTokenOnDestination

func (s *SimpleNFTStorage) GetESDTNFTTokenOnDestination(_ vmcommon.UserAccountHandler, _ []byte, _ uint64) (*esdt.ESDigitalToken, bool, error)

GetESDTNFTTokenOnDestination is disabled

func (*SimpleNFTStorage) IsInterfaceNil

func (s *SimpleNFTStorage) IsInterfaceNil() bool

IsInterfaceNil return true if underlying object is nil

func (*SimpleNFTStorage) SaveNFTMetaDataToSystemAccount

func (s *SimpleNFTStorage) SaveNFTMetaDataToSystemAccount(_ data.TransactionHandler) error

SaveNFTMetaDataToSystemAccount is disabled

type TxVersionChecker added in v1.5.0

type TxVersionChecker struct{}

TxVersionChecker implements the TxVersionChecker interface, it does nothing as it is a disabled component

func NewDisabledTxVersionChecker added in v1.5.0

func NewDisabledTxVersionChecker() *TxVersionChecker

NewDisabledTxVersionChecker is the constructor for the disabled tx version checker

func (*TxVersionChecker) CheckTxVersion added in v1.5.0

func (tvc *TxVersionChecker) CheckTxVersion(_ *transaction.Transaction) error

CheckTxVersion returns nil as this is a disabled component

func (*TxVersionChecker) IsGuardedTransaction added in v1.5.0

func (tvc *TxVersionChecker) IsGuardedTransaction(_ *transaction.Transaction) bool

IsGuardedTransaction returns false as this is a disabled component

func (*TxVersionChecker) IsInterfaceNil added in v1.5.0

func (tvc *TxVersionChecker) IsInterfaceNil() bool

IsInterfaceNil does the nil check for the receiver

func (*TxVersionChecker) IsSignedWithHash added in v1.5.0

func (tvc *TxVersionChecker) IsSignedWithHash(_ *transaction.Transaction) bool

IsSignedWithHash returns false as this is a disabled component

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL