disabled

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: GPL-3.0 Imports: 14 Imported by: 1 module, 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

This section is empty.

Types

type Accounts

type Accounts struct {
}

Accounts is a disabled implementation of the AccountAdapter interface

func (*Accounts) CancelPrune

func (a *Accounts) CancelPrune(_ []byte, _ state.TriePruningIdentifier)

CancelPrune does nothing

func (*Accounts) Close

func (a *Accounts) Close() error

Close does nothing and returns nil

func (*Accounts) Commit

func (a *Accounts) Commit() ([]byte, error)

Commit returns nil byte slice and nil

func (*Accounts) CommitInEpoch

func (a *Accounts) CommitInEpoch(uint32, uint32) ([]byte, error)

CommitInEpoch returns nil byte slice and nil

func (*Accounts) GetAccountFromBytes

func (a *Accounts) GetAccountFromBytes(_ []byte, _ []byte) (vmcommon.AccountHandler, error)

GetAccountFromBytes returns a nil account and nil error

func (*Accounts) GetAllLeaves

GetAllLeaves returns nil

func (*Accounts) GetCode

func (a *Accounts) GetCode(_ []byte) []byte

GetCode returns nil

func (*Accounts) GetExistingAccount

func (a *Accounts) GetExistingAccount(_ []byte) (vmcommon.AccountHandler, error)

GetExistingAccount returns nil account handler and nil error

func (*Accounts) GetNumCheckpoints

func (a *Accounts) GetNumCheckpoints() uint32

GetNumCheckpoints returns 0

func (*Accounts) GetStackDebugFirstEntry

func (a *Accounts) GetStackDebugFirstEntry() []byte

GetStackDebugFirstEntry return nil

func (*Accounts) GetTrie

func (a *Accounts) GetTrie(_ []byte) (common.Trie, error)

GetTrie returns nil trie and nil error

func (*Accounts) IsInterfaceNil

func (a *Accounts) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*Accounts) IsPruningEnabled

func (a *Accounts) IsPruningEnabled() bool

IsPruningEnabled returns false

func (*Accounts) JournalLen

func (a *Accounts) JournalLen() int

JournalLen returns 0

func (*Accounts) LoadAccount

func (a *Accounts) LoadAccount(_ []byte) (vmcommon.AccountHandler, error)

LoadAccount returns a nil account and nil error

func (*Accounts) PruneTrie

func (a *Accounts) PruneTrie(_ []byte, _ state.TriePruningIdentifier, _ state.PruningHandler)

PruneTrie does nothing

func (*Accounts) RecreateAllTries

func (a *Accounts) RecreateAllTries(_ []byte) (map[string]common.Trie, error)

RecreateAllTries return a nil map and nil error

func (*Accounts) RecreateTrie

func (a *Accounts) RecreateTrie(_ common.RootHashHolder) error

RecreateTrie returns nil

func (*Accounts) RecreateTrieFromEpoch

func (a *Accounts) RecreateTrieFromEpoch(_ common.RootHashHolder) error

RecreateTrieFromEpoch returns nil

func (*Accounts) RemoveAccount

func (a *Accounts) RemoveAccount(_ []byte) error

RemoveAccount returns nil

func (*Accounts) RevertToSnapshot

func (a *Accounts) RevertToSnapshot(_ int) error

RevertToSnapshot returns nil

func (*Accounts) RootHash

func (a *Accounts) RootHash() ([]byte, error)

RootHash returns nil byte slice and nil error

func (*Accounts) SaveAccount

func (a *Accounts) SaveAccount(_ vmcommon.AccountHandler) error

SaveAccount returns nil

func (*Accounts) SetStateCheckpoint

func (a *Accounts) SetStateCheckpoint(_ []byte)

SetStateCheckpoint does nothing

func (*Accounts) SetSyncer

func (a *Accounts) SetSyncer(_ state.AccountsDBSyncer) error

SetSyncer returns nil

func (*Accounts) SnapshotState

func (a *Accounts) SnapshotState(_ []byte, _ uint32)

SnapshotState does nothing

func (*Accounts) StartSnapshotIfNeeded

func (a *Accounts) StartSnapshotIfNeeded() error

StartSnapshotIfNeeded returns nil

type BlockChainHookCounter

type BlockChainHookCounter struct {
}

BlockChainHookCounter is a disabled implementation of BlockChainHookCounter interface

func (*BlockChainHookCounter) GetCounterValues

func (bhc *BlockChainHookCounter) GetCounterValues() map[string]uint64

GetCounterValues returns an empty map

func (*BlockChainHookCounter) IsInterfaceNil

func (bhc *BlockChainHookCounter) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*BlockChainHookCounter) ProcessCrtNumberOfTrieReadsCounter

func (bhc *BlockChainHookCounter) ProcessCrtNumberOfTrieReadsCounter() error

ProcessCrtNumberOfTrieReadsCounter returns nil

func (*BlockChainHookCounter) ProcessMaxBuiltInCounters

func (bhc *BlockChainHookCounter) ProcessMaxBuiltInCounters(_ *vmcommon.ContractCallInput) error

ProcessMaxBuiltInCounters returns nil

func (*BlockChainHookCounter) ResetCounters

func (bhc *BlockChainHookCounter) ResetCounters()

ResetCounters does nothing

func (*BlockChainHookCounter) SetMaximumValues

func (bhc *BlockChainHookCounter) SetMaximumValues(_ map[string]uint64)

SetMaximumValues does nothing

type Blockchain

type Blockchain struct {
}

Blockchain is a disabled implementation of the ChainHandler interface

func (*Blockchain) CreateNewHeader

func (b *Blockchain) CreateNewHeader() data.HeaderHandler

CreateNewHeader returns nil

func (*Blockchain) GetCurrentBlockHeader

func (b *Blockchain) GetCurrentBlockHeader() data.HeaderHandler

GetCurrentBlockHeader returns nil

func (*Blockchain) GetCurrentBlockHeaderHash

func (b *Blockchain) GetCurrentBlockHeaderHash() []byte

GetCurrentBlockHeaderHash returns nil

func (*Blockchain) GetCurrentBlockRootHash

func (b *Blockchain) GetCurrentBlockRootHash() []byte

GetCurrentBlockRootHash returns nil

func (*Blockchain) GetFinalBlockInfo

func (b *Blockchain) GetFinalBlockInfo() (uint64, []byte, []byte)

GetFinalBlockInfo return 0 and empty slices

func (*Blockchain) GetGenesisHeader

func (b *Blockchain) GetGenesisHeader() data.HeaderHandler

GetGenesisHeader returns nil

func (*Blockchain) GetGenesisHeaderHash

func (b *Blockchain) GetGenesisHeaderHash() []byte

GetGenesisHeaderHash returns nil

func (*Blockchain) IsInterfaceNil

func (b *Blockchain) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*Blockchain) SetCurrentBlockHeader

func (b *Blockchain) SetCurrentBlockHeader(_ data.HeaderHandler) error

SetCurrentBlockHeader returns nil

func (*Blockchain) SetCurrentBlockHeaderAndRootHash

func (b *Blockchain) SetCurrentBlockHeaderAndRootHash(_ data.HeaderHandler, _ []byte) error

SetCurrentBlockHeaderAndRootHash return nil

func (*Blockchain) SetCurrentBlockHeaderHash

func (b *Blockchain) SetCurrentBlockHeaderHash(_ []byte)

SetCurrentBlockHeaderHash does nothing

func (*Blockchain) SetFinalBlockInfo

func (b *Blockchain) SetFinalBlockInfo(_ uint64, _ []byte, _ []byte)

SetFinalBlockInfo does nothing

func (*Blockchain) SetGenesisHeader

func (b *Blockchain) SetGenesisHeader(_ data.HeaderHandler) error

SetGenesisHeader returns nil

func (*Blockchain) SetGenesisHeaderHash

func (b *Blockchain) SetGenesisHeaderHash(_ []byte)

SetGenesisHeaderHash does nothing

type BuiltInFunctionContainer

type BuiltInFunctionContainer struct {
}

BuiltInFunctionContainer is a disabled implementation of the vmcommon.BuiltInFunctionContainer interface

func (*BuiltInFunctionContainer) Add

Add does nothing and returns nil error

func (*BuiltInFunctionContainer) Get

Get returns nil and error

func (*BuiltInFunctionContainer) IsInterfaceNil

func (bifc *BuiltInFunctionContainer) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*BuiltInFunctionContainer) Keys

func (bifc *BuiltInFunctionContainer) Keys() map[string]struct{}

Keys returns an empty map

func (*BuiltInFunctionContainer) Len

func (bifc *BuiltInFunctionContainer) Len() int

Len returns 0

func (*BuiltInFunctionContainer) Remove

func (bifc *BuiltInFunctionContainer) Remove(_ string)

Remove does nothing

func (*BuiltInFunctionContainer) Replace

Replace does nothing and returns nil error

type Cache

type Cache struct {
}

Cache is a disabled implementation of Cacher interface

func (*Cache) Clear

func (c *Cache) Clear()

Clear does nothing

func (*Cache) Get

func (c *Cache) Get(_ []byte) (interface{}, bool)

Get returns false

func (*Cache) Put

func (c *Cache) Put(_ []byte, _ interface{}, _ int) bool

Put returns false

type DataPool

type DataPool struct {
}

DataPool is the disabled implementation of a PoolsHolder interface

func (*DataPool) Close

func (dp *DataPool) Close() error

Close returns nil

func (*DataPool) CurrentBlockTxs

func (dp *DataPool) CurrentBlockTxs() dataRetriever.TransactionCacher

CurrentBlockTxs returns nil

func (*DataPool) CurrentEpochValidatorInfo

func (dp *DataPool) CurrentEpochValidatorInfo() dataRetriever.ValidatorInfoCacher

CurrentEpochValidatorInfo returns nil

func (*DataPool) Headers

func (dp *DataPool) Headers() dataRetriever.HeadersPool

Headers returns nil

func (*DataPool) Heartbeats

func (dp *DataPool) Heartbeats() storage.Cacher

Heartbeats returns nil

func (*DataPool) IsInterfaceNil

func (dp *DataPool) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*DataPool) MiniBlocks

func (dp *DataPool) MiniBlocks() storage.Cacher

MiniBlocks returns nil

func (*DataPool) PeerAuthentications

func (dp *DataPool) PeerAuthentications() storage.Cacher

PeerAuthentications returns nil

func (*DataPool) PeerChangesBlocks

func (dp *DataPool) PeerChangesBlocks() storage.Cacher

PeerChangesBlocks returns nil

func (*DataPool) Proofs added in v1.5.0

func (dp *DataPool) Proofs() dataRetriever.ProofsPool

Proofs returns nil

func (*DataPool) RewardTransactions

func (dp *DataPool) RewardTransactions() dataRetriever.ShardedDataCacherNotifier

RewardTransactions returns nil

func (*DataPool) SmartContracts

func (dp *DataPool) SmartContracts() storage.Cacher

SmartContracts returns nil

func (*DataPool) Transactions

Transactions returns nil

func (*DataPool) TrieNodes

func (dp *DataPool) TrieNodes() storage.Cacher

TrieNodes returns nil

func (*DataPool) TrieNodesChunks

func (dp *DataPool) TrieNodesChunks() storage.Cacher

TrieNodesChunks returns nil

func (*DataPool) UnsignedTransactions

func (dp *DataPool) UnsignedTransactions() dataRetriever.ShardedDataCacherNotifier

UnsignedTransactions returns nil

func (*DataPool) ValidatorsInfo

func (dp *DataPool) ValidatorsInfo() dataRetriever.ShardedDataCacherNotifier

ValidatorsInfo returns nil

type EnableEpochsHandler

type EnableEpochsHandler struct {
}

EnableEpochsHandler is a disabled implementation of EnableEpochsHandler interface

func (*EnableEpochsHandler) GetActivationEpoch added in v1.4.0

func (eeh *EnableEpochsHandler) GetActivationEpoch(_ core.EnableEpochFlag) uint32

GetActivationEpoch returns 0

func (*EnableEpochsHandler) GetCurrentEpoch added in v1.4.0

func (eeh *EnableEpochsHandler) GetCurrentEpoch() uint32

GetCurrentEpoch returns 0

func (*EnableEpochsHandler) IsFlagDefined added in v1.4.0

func (eeh *EnableEpochsHandler) IsFlagDefined(_ core.EnableEpochFlag) bool

IsFlagDefined returns true

func (*EnableEpochsHandler) IsFlagEnabled added in v1.4.0

func (eeh *EnableEpochsHandler) IsFlagEnabled(_ core.EnableEpochFlag) bool

IsFlagEnabled returns true

func (*EnableEpochsHandler) IsFlagEnabledInEpoch added in v1.4.0

func (eeh *EnableEpochsHandler) IsFlagEnabledInEpoch(_ core.EnableEpochFlag, _ uint32) bool

IsFlagEnabledInEpoch returns true

func (*EnableEpochsHandler) IsInterfaceNil

func (eeh *EnableEpochsHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

type EpochNotifier

type EpochNotifier struct {
}

EpochNotifier is a disabled implementation of EpochNotifier interface

func (*EpochNotifier) CheckEpoch

func (en *EpochNotifier) CheckEpoch(_ data.HeaderHandler)

CheckEpoch does nothing

func (*EpochNotifier) CurrentEpoch

func (en *EpochNotifier) CurrentEpoch() uint32

CurrentEpoch returns 0

func (*EpochNotifier) IsInterfaceNil

func (en *EpochNotifier) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*EpochNotifier) RegisterNotifyHandler

func (en *EpochNotifier) RegisterNotifyHandler(_ vmcommon.EpochSubscriberHandler)

RegisterNotifyHandler does nothing

type EpochStartNotifier

type EpochStartNotifier struct {
}

EpochStartNotifier is a disabled implementation of EpochStartEventNotifier interface

func (*EpochStartNotifier) IsInterfaceNil

func (esn *EpochStartNotifier) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*EpochStartNotifier) RegisterHandler

func (esn *EpochStartNotifier) RegisterHandler(_ epochStart.ActionHandler)

RegisterHandler does nothing

func (*EpochStartNotifier) UnregisterHandler

func (esn *EpochStartNotifier) UnregisterHandler(_ epochStart.ActionHandler)

UnregisterHandler does nothing

type EpochStartTrigger added in v1.5.0

type EpochStartTrigger struct {
}

EpochStartTrigger is a disabled epoch start trigger

func (*EpochStartTrigger) GetEpochStartHdrFromStorage added in v1.5.0

func (trigger *EpochStartTrigger) GetEpochStartHdrFromStorage(_ uint32) (data.HeaderHandler, error)

GetEpochStartHdrFromStorage returns an empty handler and nil as it is disabled

func (*EpochStartTrigger) IsInterfaceNil added in v1.5.0

func (trigger *EpochStartTrigger) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*EpochStartTrigger) LastCommitedEpochStartHdr added in v1.5.0

func (trigger *EpochStartTrigger) LastCommitedEpochStartHdr() (data.HeaderHandler, error)

LastCommitedEpochStartHdr returns an empty handler and nil as it is disabled

type FallBackHeaderValidator

type FallBackHeaderValidator struct {
}

FallBackHeaderValidator is a disabled implementation of FallBackHeaderValidator interface

func (*FallBackHeaderValidator) IsInterfaceNil

func (fhvs *FallBackHeaderValidator) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*FallBackHeaderValidator) ShouldApplyFallbackValidation

func (fhvs *FallBackHeaderValidator) ShouldApplyFallbackValidation(_ data.HeaderHandler) bool

ShouldApplyFallbackValidation returns false

func (*FallBackHeaderValidator) ShouldApplyFallbackValidationForHeaderWith added in v1.5.0

func (fhvs *FallBackHeaderValidator) ShouldApplyFallbackValidationForHeaderWith(_ uint32, _ bool, _ uint64, _ []byte) bool

ShouldApplyFallbackValidationForHeaderWith returns false

type GasScheduleNotifier

type GasScheduleNotifier struct {
}

GasScheduleNotifier -

func (*GasScheduleNotifier) ChangeGasSchedule

func (gsn *GasScheduleNotifier) ChangeGasSchedule(_ map[string]map[string]uint64)

ChangeGasSchedule does nothing

func (*GasScheduleNotifier) IsInterfaceNil

func (gsn *GasScheduleNotifier) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*GasScheduleNotifier) LatestGasSchedule

func (gsn *GasScheduleNotifier) LatestGasSchedule() map[string]map[string]uint64

LatestGasSchedule returns an empty map

func (*GasScheduleNotifier) RegisterNotifyHandler

func (gsn *GasScheduleNotifier) RegisterNotifyHandler(_ core.GasScheduleSubscribeHandler)

RegisterNotifyHandler does nothing

func (*GasScheduleNotifier) UnRegisterAll

func (gsn *GasScheduleNotifier) UnRegisterAll()

UnRegisterAll does nothing

type GenesisNodesSetupHandler added in v1.5.0

type GenesisNodesSetupHandler struct {
}

GenesisNodesSetupHandler is a disabled GenesisNodesSetupHandler

func (*GenesisNodesSetupHandler) IsInterfaceNil added in v1.5.0

func (handler *GenesisNodesSetupHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*GenesisNodesSetupHandler) MinMetaHysteresisNodes added in v1.5.0

func (handler *GenesisNodesSetupHandler) MinMetaHysteresisNodes() uint32

MinMetaHysteresisNodes returns 0

func (*GenesisNodesSetupHandler) MinShardHysteresisNodes added in v1.5.0

func (handler *GenesisNodesSetupHandler) MinShardHysteresisNodes() uint32

MinShardHysteresisNodes returns 0

type GlobalSettingsHandler

type GlobalSettingsHandler struct {
}

GlobalSettingsHandler implements a disabled vmcommon.ESDTGlobalSettingsHandler

func (*GlobalSettingsHandler) IsInterfaceNil

func (handler *GlobalSettingsHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*GlobalSettingsHandler) IsLimitedTransfer

func (handler *GlobalSettingsHandler) IsLimitedTransfer(_ []byte) bool

IsLimitedTransfer returns false

func (*GlobalSettingsHandler) IsPaused

func (handler *GlobalSettingsHandler) IsPaused(_ []byte) bool

IsPaused returns false

type MissingTrieNodesNotifier added in v1.3.7

type MissingTrieNodesNotifier struct {
}

MissingTrieNodesNotifier is a disabled implementation of MissingTrieNodesNotifier interface

func (*MissingTrieNodesNotifier) AsyncNotifyMissingTrieNode added in v1.3.7

func (m *MissingTrieNodesNotifier) AsyncNotifyMissingTrieNode(_ []byte)

AsyncNotifyMissingTrieNode does nothing

func (*MissingTrieNodesNotifier) IsInterfaceNil added in v1.3.7

func (m *MissingTrieNodesNotifier) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*MissingTrieNodesNotifier) RegisterHandler added in v1.3.7

RegisterHandler returns nil

type NodeTypeProvider

type NodeTypeProvider struct {
}

NodeTypeProvider is a disabled implementation of NodeTypeProviderHandler interface

func (*NodeTypeProvider) GetType

func (n *NodeTypeProvider) GetType() core.NodeType

GetType returns empty string

func (*NodeTypeProvider) IsInterfaceNil

func (n *NodeTypeProvider) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*NodeTypeProvider) SetType

func (n *NodeTypeProvider) SetType(_ core.NodeType)

SetType does nothing

type NodesCoordinatorRegistryFactory added in v1.5.0

type NodesCoordinatorRegistryFactory struct {
}

NodesCoordinatorRegistryFactory is a disabled NodesCoordinatorRegistryFactory

func (*NodesCoordinatorRegistryFactory) CreateNodesCoordinatorRegistry added in v1.5.0

func (factory *NodesCoordinatorRegistryFactory) CreateNodesCoordinatorRegistry(_ []byte) (nodesCoordinator.NodesCoordinatorRegistryHandler, error)

CreateNodesCoordinatorRegistry returns a disabled NodesCoordinatorRegistryHandler

func (*NodesCoordinatorRegistryFactory) GetRegistryData added in v1.5.0

GetRegistryData returns an empty buff

func (*NodesCoordinatorRegistryFactory) IsInterfaceNil added in v1.5.0

func (factory *NodesCoordinatorRegistryFactory) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

type NodesCoordinatorRegistryHandler added in v1.5.0

type NodesCoordinatorRegistryHandler struct {
}

NodesCoordinatorRegistryHandler is a disabled NodesCoordinatorRegistryHandler

func (*NodesCoordinatorRegistryHandler) GetCurrentEpoch added in v1.5.0

func (handler *NodesCoordinatorRegistryHandler) GetCurrentEpoch() uint32

GetCurrentEpoch returns 0

func (*NodesCoordinatorRegistryHandler) GetEpochsConfig added in v1.5.0

GetEpochsConfig returns an empty map

func (*NodesCoordinatorRegistryHandler) SetCurrentEpoch added in v1.5.0

func (handler *NodesCoordinatorRegistryHandler) SetCurrentEpoch(_ uint32)

SetCurrentEpoch does nothing

type RoundHandler added in v1.5.0

type RoundHandler struct {
}

RoundHandler is a disabled round handler

func (*RoundHandler) IsInterfaceNil added in v1.5.0

func (handler *RoundHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*RoundHandler) TimeDuration added in v1.5.0

func (handler *RoundHandler) TimeDuration() time.Duration

TimeDuration returns time.Second as it is disabled

type ShardCoordinator

type ShardCoordinator struct {
}

ShardCoordinator is the disabled shard coordinator instance that satisfies the mx-chain-go.sharding.Coordinator interface

func (*ShardCoordinator) CommunicationIdentifier

func (sc *ShardCoordinator) CommunicationIdentifier(_ uint32) string

CommunicationIdentifier returns empty string

func (*ShardCoordinator) ComputeId

func (sc *ShardCoordinator) ComputeId(_ []byte) uint32

ComputeId returns 0

func (*ShardCoordinator) IsInterfaceNil

func (sc *ShardCoordinator) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*ShardCoordinator) NumberOfShards

func (sc *ShardCoordinator) NumberOfShards() uint32

NumberOfShards returns 0

func (*ShardCoordinator) SameShard

func (sc *ShardCoordinator) SameShard(_, _ []byte) bool

SameShard returns false

func (*ShardCoordinator) SelfId

func (sc *ShardCoordinator) SelfId() uint32

SelfId returns 0

type ShuffledOutHandler

type ShuffledOutHandler struct {
}

ShuffledOutHandler is a disabled implementation of ShuffledOutHandler interface

func (*ShuffledOutHandler) CurrentShardID

func (s *ShuffledOutHandler) CurrentShardID() uint32

CurrentShardID return zero

func (*ShuffledOutHandler) IsInterfaceNil

func (s *ShuffledOutHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*ShuffledOutHandler) Process

func (s *ShuffledOutHandler) Process(_ uint32) error

Process returns nil

func (*ShuffledOutHandler) RegisterHandler

func (s *ShuffledOutHandler) RegisterHandler(_ func(uint32))

RegisterHandler does nothing

type SimpleESDTNFTStorageHandler

type SimpleESDTNFTStorageHandler struct {
}

SimpleESDTNFTStorageHandler is a disabled implementation of SimpleESDTNFTStorageHandler interface

func (*SimpleESDTNFTStorageHandler) GetESDTNFTTokenOnDestination

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

GetESDTNFTTokenOnDestination returns nil

func (*SimpleESDTNFTStorageHandler) IsInterfaceNil

func (sns *SimpleESDTNFTStorageHandler) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*SimpleESDTNFTStorageHandler) SaveNFTMetaData added in v1.4.4

func (sns *SimpleESDTNFTStorageHandler) SaveNFTMetaData(_ data.TransactionHandler) error

SaveNFTMetaData returns nil

func (*SimpleESDTNFTStorageHandler) SaveNFTMetaDataToSystemAccount

func (sns *SimpleESDTNFTStorageHandler) SaveNFTMetaDataToSystemAccount(_ data.TransactionHandler) error

SaveNFTMetaDataToSystemAccount returns nil

type StorageService

type StorageService struct {
}

StorageService is a disabled implementation of the StorageService interface

func (*StorageService) AddStorer

func (ss *StorageService) AddStorer(_ dataRetriever.UnitType, _ storage.Storer)

AddStorer does nothing

func (*StorageService) CloseAll

func (ss *StorageService) CloseAll() error

CloseAll returns nil

func (*StorageService) Destroy

func (ss *StorageService) Destroy() error

Destroy returns nil

func (*StorageService) Get

func (ss *StorageService) Get(_ dataRetriever.UnitType, _ []byte) ([]byte, error)

Get returns nil byte slice and nil error

func (*StorageService) GetAll

func (ss *StorageService) GetAll(_ dataRetriever.UnitType, _ [][]byte) (map[string][]byte, error)

GetAll returns nil map and nil error

func (*StorageService) GetAllStorers

func (ss *StorageService) GetAllStorers() map[dataRetriever.UnitType]storage.Storer

GetAllStorers returns an empty map

func (*StorageService) GetStorer

GetStorer returns nil

func (*StorageService) Has

Has returns nil

func (*StorageService) IsInterfaceNil

func (ss *StorageService) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*StorageService) Put

func (ss *StorageService) Put(_ dataRetriever.UnitType, _ []byte, _ []byte) error

Put returns nil

func (*StorageService) SetEpochForPutOperation

func (ss *StorageService) SetEpochForPutOperation(_ uint32)

SetEpochForPutOperation does nothing

type Storer

type Storer struct {
}

Storer is a disabled implementation of Storer interface

func (*Storer) ClearCache

func (s *Storer) ClearCache()

ClearCache does nothing

func (*Storer) Close

func (s *Storer) Close() error

Close returns nil

func (*Storer) DestroyUnit

func (s *Storer) DestroyUnit() error

DestroyUnit returns nil

func (*Storer) Get

func (s *Storer) Get(_ []byte) ([]byte, error)

Get returns nil

func (*Storer) GetBulkFromEpoch

func (s *Storer) GetBulkFromEpoch(_ [][]byte, _ uint32) ([]data.KeyValuePair, error)

GetBulkFromEpoch returns nil

func (*Storer) GetFromEpoch

func (s *Storer) GetFromEpoch(_ []byte, _ uint32) ([]byte, error)

GetFromEpoch returns nil

func (*Storer) GetOldestEpoch

func (s *Storer) GetOldestEpoch() (uint32, error)

GetOldestEpoch return nil

func (*Storer) Has

func (s *Storer) Has(_ []byte) error

Has returns nil

func (*Storer) IsInterfaceNil

func (s *Storer) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*Storer) Put

func (s *Storer) Put(_, _ []byte) error

Put returns nil

func (*Storer) PutInEpoch

func (s *Storer) PutInEpoch(_, _ []byte, _ uint32) error

PutInEpoch returns nil

func (*Storer) RangeKeys

func (s *Storer) RangeKeys(_ func(_ []byte, _ []byte) bool)

RangeKeys does nothing

func (*Storer) Remove

func (s *Storer) Remove(_ []byte) error

Remove return nil

func (*Storer) RemoveFromCurrentEpoch

func (s *Storer) RemoveFromCurrentEpoch(_ []byte) error

RemoveFromCurrentEpoch returns nil

func (*Storer) SearchFirst

func (s *Storer) SearchFirst(_ []byte) ([]byte, error)

SearchFirst returns nil

Jump to

Keyboard shortcuts

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