Documentation ¶
Index ¶
- type Accounts
- func (a *Accounts) CancelPrune(_ []byte, _ state.TriePruningIdentifier)
- func (a *Accounts) Close() error
- func (a *Accounts) Commit() ([]byte, error)
- func (a *Accounts) CommitInEpoch(uint32, uint32) ([]byte, error)
- func (a *Accounts) GetAccountFromBytes(_ []byte, _ []byte) (vmcommon.AccountHandler, error)
- func (a *Accounts) GetAllLeaves(_ *common.TrieIteratorChannels, _ context.Context, _ []byte, ...) error
- func (a *Accounts) GetCode(_ []byte) []byte
- func (a *Accounts) GetExistingAccount(_ []byte) (vmcommon.AccountHandler, error)
- func (a *Accounts) GetNumCheckpoints() uint32
- func (a *Accounts) GetStackDebugFirstEntry() []byte
- func (a *Accounts) GetTrie(_ []byte) (common.Trie, error)
- func (a *Accounts) IsInterfaceNil() bool
- func (a *Accounts) IsPruningEnabled() bool
- func (a *Accounts) JournalLen() int
- func (a *Accounts) LoadAccount(_ []byte) (vmcommon.AccountHandler, error)
- func (a *Accounts) PruneTrie(_ []byte, _ state.TriePruningIdentifier, _ state.PruningHandler)
- func (a *Accounts) RecreateAllTries(_ []byte) (map[string]common.Trie, error)
- func (a *Accounts) RecreateTrie(_ []byte) error
- func (a *Accounts) RecreateTrieFromEpoch(_ common.RootHashHolder) error
- func (a *Accounts) RemoveAccount(_ []byte) error
- func (a *Accounts) RevertToSnapshot(_ int) error
- func (a *Accounts) RootHash() ([]byte, error)
- func (a *Accounts) SaveAccount(_ vmcommon.AccountHandler) error
- func (a *Accounts) SetStateCheckpoint(_ []byte)
- func (a *Accounts) SetSyncer(_ state.AccountsDBSyncer) error
- func (a *Accounts) SnapshotState(_ []byte, _ uint32)
- func (a *Accounts) StartSnapshotIfNeeded() error
- type BlockChainHookCounter
- func (bhc *BlockChainHookCounter) GetCounterValues() map[string]uint64
- func (bhc *BlockChainHookCounter) IsInterfaceNil() bool
- func (bhc *BlockChainHookCounter) ProcessCrtNumberOfTrieReadsCounter() error
- func (bhc *BlockChainHookCounter) ProcessMaxBuiltInCounters(_ *vmcommon.ContractCallInput) error
- func (bhc *BlockChainHookCounter) ResetCounters()
- func (bhc *BlockChainHookCounter) SetMaximumValues(_ map[string]uint64)
- type Blockchain
- func (b *Blockchain) CreateNewHeader() data.HeaderHandler
- func (b *Blockchain) GetCurrentBlockHeader() data.HeaderHandler
- func (b *Blockchain) GetCurrentBlockHeaderHash() []byte
- func (b *Blockchain) GetCurrentBlockRootHash() []byte
- func (b *Blockchain) GetFinalBlockInfo() (uint64, []byte, []byte)
- func (b *Blockchain) GetGenesisHeader() data.HeaderHandler
- func (b *Blockchain) GetGenesisHeaderHash() []byte
- func (b *Blockchain) IsInterfaceNil() bool
- func (b *Blockchain) SetCurrentBlockHeader(_ data.HeaderHandler) error
- func (b *Blockchain) SetCurrentBlockHeaderAndRootHash(_ data.HeaderHandler, _ []byte) error
- func (b *Blockchain) SetCurrentBlockHeaderHash(_ []byte)
- func (b *Blockchain) SetFinalBlockInfo(_ uint64, _ []byte, _ []byte)
- func (b *Blockchain) SetGenesisHeader(_ data.HeaderHandler) error
- func (b *Blockchain) SetGenesisHeaderHash(_ []byte)
- type BuiltInFunctionContainer
- func (bifc *BuiltInFunctionContainer) Add(_ string, _ vmcommon.BuiltinFunction) error
- func (bifc *BuiltInFunctionContainer) Get(_ string) (vmcommon.BuiltinFunction, error)
- func (bifc *BuiltInFunctionContainer) IsInterfaceNil() bool
- func (bifc *BuiltInFunctionContainer) Keys() map[string]struct{}
- func (bifc *BuiltInFunctionContainer) Len() int
- func (bifc *BuiltInFunctionContainer) Remove(_ string)
- func (bifc *BuiltInFunctionContainer) Replace(_ string, _ vmcommon.BuiltinFunction) error
- type Cache
- type DataPool
- func (dp *DataPool) Close() error
- func (dp *DataPool) CurrentBlockTxs() dataRetriever.TransactionCacher
- func (dp *DataPool) CurrentEpochValidatorInfo() dataRetriever.ValidatorInfoCacher
- func (dp *DataPool) Headers() dataRetriever.HeadersPool
- func (dp *DataPool) Heartbeats() storage.Cacher
- func (dp *DataPool) IsInterfaceNil() bool
- func (dp *DataPool) MiniBlocks() storage.Cacher
- func (dp *DataPool) PeerAuthentications() storage.Cacher
- func (dp *DataPool) PeerChangesBlocks() storage.Cacher
- func (dp *DataPool) RewardTransactions() dataRetriever.ShardedDataCacherNotifier
- func (dp *DataPool) SmartContracts() storage.Cacher
- func (dp *DataPool) Transactions() dataRetriever.ShardedDataCacherNotifier
- func (dp *DataPool) TrieNodes() storage.Cacher
- func (dp *DataPool) TrieNodesChunks() storage.Cacher
- func (dp *DataPool) UnsignedTransactions() dataRetriever.ShardedDataCacherNotifier
- func (dp *DataPool) ValidatorsInfo() dataRetriever.ShardedDataCacherNotifier
- type EnableEpochsHandler
- func (eeh *EnableEpochsHandler) GetActivationEpoch(_ core.EnableEpochFlag) uint32
- func (eeh *EnableEpochsHandler) GetCurrentEpoch() uint32
- func (eeh *EnableEpochsHandler) IsFlagDefined(_ core.EnableEpochFlag) bool
- func (eeh *EnableEpochsHandler) IsFlagEnabled(_ core.EnableEpochFlag) bool
- func (eeh *EnableEpochsHandler) IsFlagEnabledInEpoch(_ core.EnableEpochFlag, _ uint32) bool
- func (eeh *EnableEpochsHandler) IsInterfaceNil() bool
- type EpochNotifier
- type EpochStartNotifier
- type FallBackHeaderValidator
- type GasScheduleNotifier
- func (gsn *GasScheduleNotifier) ChangeGasSchedule(_ map[string]map[string]uint64)
- func (gsn *GasScheduleNotifier) IsInterfaceNil() bool
- func (gsn *GasScheduleNotifier) LatestGasSchedule() map[string]map[string]uint64
- func (gsn *GasScheduleNotifier) RegisterNotifyHandler(_ core.GasScheduleSubscribeHandler)
- func (gsn *GasScheduleNotifier) UnRegisterAll()
- type GlobalSettingsHandler
- type MissingTrieNodesNotifier
- type NodeTypeProvider
- type ShardCoordinator
- func (sc *ShardCoordinator) CommunicationIdentifier(_ uint32) string
- func (sc *ShardCoordinator) ComputeId(_ []byte) uint32
- func (sc *ShardCoordinator) IsInterfaceNil() bool
- func (sc *ShardCoordinator) NumberOfShards() uint32
- func (sc *ShardCoordinator) SameShard(_, _ []byte) bool
- func (sc *ShardCoordinator) SelfId() uint32
- type ShuffledOutHandler
- type SimpleESDTNFTStorageHandler
- func (sns *SimpleESDTNFTStorageHandler) GetESDTNFTTokenOnDestination(_ vmcommon.UserAccountHandler, _ []byte, _ uint64) (*esdt.ESDigitalToken, bool, error)
- func (sns *SimpleESDTNFTStorageHandler) IsInterfaceNil() bool
- func (sns *SimpleESDTNFTStorageHandler) SaveNFTMetaDataToSystemAccount(_ data.TransactionHandler) error
- type StorageService
- func (ss *StorageService) AddStorer(_ dataRetriever.UnitType, _ storage.Storer)
- func (ss *StorageService) CloseAll() error
- func (ss *StorageService) Destroy() error
- func (ss *StorageService) Get(_ dataRetriever.UnitType, _ []byte) ([]byte, error)
- func (ss *StorageService) GetAll(_ dataRetriever.UnitType, _ [][]byte) (map[string][]byte, error)
- func (ss *StorageService) GetAllStorers() map[dataRetriever.UnitType]storage.Storer
- func (ss *StorageService) GetStorer(_ dataRetriever.UnitType) (storage.Storer, error)
- func (ss *StorageService) Has(_ dataRetriever.UnitType, _ []byte) error
- func (ss *StorageService) IsInterfaceNil() bool
- func (ss *StorageService) Put(_ dataRetriever.UnitType, _ []byte, _ []byte) error
- func (ss *StorageService) SetEpochForPutOperation(_ uint32)
- type Storer
- func (s *Storer) ClearCache()
- func (s *Storer) Close() error
- func (s *Storer) DestroyUnit() error
- func (s *Storer) Get(_ []byte) ([]byte, error)
- func (s *Storer) GetBulkFromEpoch(_ [][]byte, _ uint32) ([]data.KeyValuePair, error)
- func (s *Storer) GetFromEpoch(_ []byte, _ uint32) ([]byte, error)
- func (s *Storer) GetOldestEpoch() (uint32, error)
- func (s *Storer) Has(_ []byte) error
- func (s *Storer) IsInterfaceNil() bool
- func (s *Storer) Put(_, _ []byte) error
- func (s *Storer) PutInEpoch(_, _ []byte, _ uint32) error
- func (s *Storer) RangeKeys(_ func(_ []byte, _ []byte) bool)
- func (s *Storer) Remove(_ []byte) error
- func (s *Storer) RemoveFromCurrentEpoch(_ []byte) error
- func (s *Storer) SearchFirst(_ []byte) ([]byte, error)
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) CommitInEpoch ¶
CommitInEpoch returns nil byte slice and nil
func (*Accounts) GetAccountFromBytes ¶
GetAccountFromBytes returns a nil account and nil error
func (*Accounts) GetAllLeaves ¶
func (a *Accounts) GetAllLeaves(_ *common.TrieIteratorChannels, _ context.Context, _ []byte, _ common.TrieLeafParser) error
GetAllLeaves returns nil
func (*Accounts) GetExistingAccount ¶
func (a *Accounts) GetExistingAccount(_ []byte) (vmcommon.AccountHandler, error)
GetExistingAccount returns nil account handler and nil error
func (*Accounts) GetNumCheckpoints ¶
GetNumCheckpoints returns 0
func (*Accounts) GetStackDebugFirstEntry ¶
GetStackDebugFirstEntry return nil
func (*Accounts) IsInterfaceNil ¶
IsInterfaceNil returns true if there is no value under the interface
func (*Accounts) IsPruningEnabled ¶
IsPruningEnabled returns false
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 ¶
RecreateAllTries return a nil map and nil error
func (*Accounts) RecreateTrie ¶
RecreateTrie returns nil
func (*Accounts) RecreateTrieFromEpoch ¶
func (a *Accounts) RecreateTrieFromEpoch(_ common.RootHashHolder) error
RecreateTrieFromEpoch returns nil
func (*Accounts) RemoveAccount ¶
RemoveAccount returns nil
func (*Accounts) RevertToSnapshot ¶
RevertToSnapshot returns nil
func (*Accounts) SaveAccount ¶
func (a *Accounts) SaveAccount(_ vmcommon.AccountHandler) error
SaveAccount returns nil
func (*Accounts) SetStateCheckpoint ¶
SetStateCheckpoint does nothing
func (*Accounts) SetSyncer ¶
func (a *Accounts) SetSyncer(_ state.AccountsDBSyncer) error
SetSyncer returns nil
func (*Accounts) SnapshotState ¶
SnapshotState does nothing
func (*Accounts) StartSnapshotIfNeeded ¶
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 ¶
func (bifc *BuiltInFunctionContainer) Add(_ string, _ vmcommon.BuiltinFunction) error
Add does nothing and returns nil error
func (*BuiltInFunctionContainer) Get ¶
func (bifc *BuiltInFunctionContainer) Get(_ string) (vmcommon.BuiltinFunction, error)
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 ¶
func (bifc *BuiltInFunctionContainer) Replace(_ string, _ vmcommon.BuiltinFunction) error
Replace does nothing and returns nil error
type DataPool ¶
type DataPool struct { }
DataPool is the disabled implementation of a PoolsHolder interface
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 ¶
Heartbeats returns nil
func (*DataPool) IsInterfaceNil ¶
IsInterfaceNil returns true if there is no value under the interface
func (*DataPool) MiniBlocks ¶
MiniBlocks returns nil
func (*DataPool) PeerAuthentications ¶
PeerAuthentications returns nil
func (*DataPool) PeerChangesBlocks ¶
PeerChangesBlocks returns nil
func (*DataPool) RewardTransactions ¶
func (dp *DataPool) RewardTransactions() dataRetriever.ShardedDataCacherNotifier
RewardTransactions returns nil
func (*DataPool) SmartContracts ¶
SmartContracts returns nil
func (*DataPool) Transactions ¶
func (dp *DataPool) Transactions() dataRetriever.ShardedDataCacherNotifier
Transactions returns nil
func (*DataPool) TrieNodesChunks ¶
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 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
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 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
func (m *MissingTrieNodesNotifier) RegisterHandler(_ common.StateSyncNotifierSubscriber) error
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 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
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) 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) 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 ¶
func (ss *StorageService) GetStorer(_ dataRetriever.UnitType) (storage.Storer, error)
GetStorer returns nil
func (*StorageService) Has ¶
func (ss *StorageService) Has(_ dataRetriever.UnitType, _ []byte) error
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) GetBulkFromEpoch ¶
GetBulkFromEpoch returns nil
func (*Storer) GetFromEpoch ¶
GetFromEpoch returns nil
func (*Storer) GetOldestEpoch ¶
GetOldestEpoch return nil
func (*Storer) IsInterfaceNil ¶
IsInterfaceNil returns true if there is no value under the interface
func (*Storer) PutInEpoch ¶
PutInEpoch returns nil
func (*Storer) RemoveFromCurrentEpoch ¶
RemoveFromCurrentEpoch returns nil
Source Files ¶
- accounts.go
- blockchain.go
- blockchainHookCounter.go
- builtInFunctionContainer.go
- cache.go
- datapool.go
- enableEpochsHandler.go
- epochNotifier.go
- epochStartNotifier.go
- fallbackHeaderValidator.go
- gasScheduleNotifier.go
- globalSettingsHandler.go
- missingTrieNodesNotifier.go
- nodeTypeProvider.go
- shardCoordinator.go
- shuffleOutHandler.go
- simpleESDTNFTStorageHandler.go
- storageService.go
- storer.go