factory

package
v1.5.15 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreComponentsHolderStub added in v1.5.0

type CoreComponentsHolderStub struct {
	InternalMarshalizerCalled           func() marshal.Marshalizer
	SetInternalMarshalizerCalled        func(marshalizer marshal.Marshalizer) error
	TxMarshalizerCalled                 func() marshal.Marshalizer
	VmMarshalizerCalled                 func() marshal.Marshalizer
	HasherCalled                        func() hashing.Hasher
	TxSignHasherCalled                  func() hashing.Hasher
	Uint64ByteSliceConverterCalled      func() typeConverters.Uint64ByteSliceConverter
	AddressPubKeyConverterCalled        func() core.PubkeyConverter
	ValidatorPubKeyConverterCalled      func() core.PubkeyConverter
	PathHandlerCalled                   func() storage.PathManagerHandler
	WatchdogCalled                      func() core.WatchdogTimer
	AlarmSchedulerCalled                func() core.TimersScheduler
	SyncTimerCalled                     func() ntp.SyncTimer
	RoundHandlerCalled                  func() consensus.RoundHandler
	EconomicsDataCalled                 func() process.EconomicsDataHandler
	APIEconomicsDataCalled              func() process.EconomicsDataHandler
	RatingsDataCalled                   func() process.RatingsInfoHandler
	RaterCalled                         func() sharding.PeerAccountListAndRatingHandler
	GenesisNodesSetupCalled             func() sharding.GenesisNodesSetupHandler
	NodesShufflerCalled                 func() nodesCoordinator.NodesShuffler
	EpochNotifierCalled                 func() process.EpochNotifier
	EnableRoundsHandlerCalled           func() process.EnableRoundsHandler
	EpochStartNotifierWithConfirmCalled func() factory.EpochStartNotifierWithConfirm
	ChanStopNodeProcessCalled           func() chan endProcess.ArgEndProcess
	GenesisTimeCalled                   func() time.Time
	ChainIDCalled                       func() string
	MinTransactionVersionCalled         func() uint32
	TxVersionCheckerCalled              func() process.TxVersionCheckerHandler
	EncodedAddressLenCalled             func() uint32
	NodeTypeProviderCalled              func() core.NodeTypeProviderHandler
	WasmVMChangeLockerCalled            func() common.Locker
	ProcessStatusHandlerCalled          func() common.ProcessStatusHandler
	HardforkTriggerPubKeyCalled         func() []byte
	EnableEpochsHandlerCalled           func() common.EnableEpochsHandler
}

CoreComponentsHolderStub -

func NewCoreComponentsHolderStubFromRealComponent added in v1.5.0

func NewCoreComponentsHolderStubFromRealComponent(coreComponents factory.CoreComponentsHolder) *CoreComponentsHolderStub

NewCoreComponentsHolderStubFromRealComponent -

func (*CoreComponentsHolderStub) APIEconomicsData added in v1.5.0

func (stub *CoreComponentsHolderStub) APIEconomicsData() process.EconomicsDataHandler

APIEconomicsData -

func (*CoreComponentsHolderStub) AddressPubKeyConverter added in v1.5.0

func (stub *CoreComponentsHolderStub) AddressPubKeyConverter() core.PubkeyConverter

AddressPubKeyConverter -

func (*CoreComponentsHolderStub) AlarmScheduler added in v1.5.0

func (stub *CoreComponentsHolderStub) AlarmScheduler() core.TimersScheduler

AlarmScheduler -

func (*CoreComponentsHolderStub) ChainID added in v1.5.0

func (stub *CoreComponentsHolderStub) ChainID() string

ChainID -

func (*CoreComponentsHolderStub) ChanStopNodeProcess added in v1.5.0

func (stub *CoreComponentsHolderStub) ChanStopNodeProcess() chan endProcess.ArgEndProcess

ChanStopNodeProcess -

func (*CoreComponentsHolderStub) EconomicsData added in v1.5.0

EconomicsData -

func (*CoreComponentsHolderStub) EnableEpochsHandler added in v1.5.0

func (stub *CoreComponentsHolderStub) EnableEpochsHandler() common.EnableEpochsHandler

EnableEpochsHandler -

func (*CoreComponentsHolderStub) EnableRoundsHandler added in v1.5.0

func (stub *CoreComponentsHolderStub) EnableRoundsHandler() process.EnableRoundsHandler

EnableRoundsHandler -

func (*CoreComponentsHolderStub) EncodedAddressLen added in v1.5.0

func (stub *CoreComponentsHolderStub) EncodedAddressLen() uint32

EncodedAddressLen -

func (*CoreComponentsHolderStub) EpochNotifier added in v1.5.0

func (stub *CoreComponentsHolderStub) EpochNotifier() process.EpochNotifier

EpochNotifier -

func (*CoreComponentsHolderStub) EpochStartNotifierWithConfirm added in v1.5.0

func (stub *CoreComponentsHolderStub) EpochStartNotifierWithConfirm() factory.EpochStartNotifierWithConfirm

EpochStartNotifierWithConfirm -

func (*CoreComponentsHolderStub) GenesisNodesSetup added in v1.5.0

GenesisNodesSetup -

func (*CoreComponentsHolderStub) GenesisTime added in v1.5.0

func (stub *CoreComponentsHolderStub) GenesisTime() time.Time

GenesisTime -

func (*CoreComponentsHolderStub) HardforkTriggerPubKey added in v1.5.0

func (stub *CoreComponentsHolderStub) HardforkTriggerPubKey() []byte

HardforkTriggerPubKey -

func (*CoreComponentsHolderStub) Hasher added in v1.5.0

func (stub *CoreComponentsHolderStub) Hasher() hashing.Hasher

Hasher -

func (*CoreComponentsHolderStub) InternalMarshalizer added in v1.5.0

func (stub *CoreComponentsHolderStub) InternalMarshalizer() marshal.Marshalizer

InternalMarshalizer -

func (*CoreComponentsHolderStub) IsInterfaceNil added in v1.5.0

func (stub *CoreComponentsHolderStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*CoreComponentsHolderStub) MinTransactionVersion added in v1.5.0

func (stub *CoreComponentsHolderStub) MinTransactionVersion() uint32

MinTransactionVersion -

func (*CoreComponentsHolderStub) NodeTypeProvider added in v1.5.0

func (stub *CoreComponentsHolderStub) NodeTypeProvider() core.NodeTypeProviderHandler

NodeTypeProvider -

func (*CoreComponentsHolderStub) NodesShuffler added in v1.5.0

NodesShuffler -

func (*CoreComponentsHolderStub) PathHandler added in v1.5.0

PathHandler -

func (*CoreComponentsHolderStub) ProcessStatusHandler added in v1.5.0

func (stub *CoreComponentsHolderStub) ProcessStatusHandler() common.ProcessStatusHandler

ProcessStatusHandler -

func (*CoreComponentsHolderStub) Rater added in v1.5.0

Rater -

func (*CoreComponentsHolderStub) RatingsData added in v1.5.0

RatingsData -

func (*CoreComponentsHolderStub) RoundHandler added in v1.5.0

func (stub *CoreComponentsHolderStub) RoundHandler() consensus.RoundHandler

RoundHandler -

func (*CoreComponentsHolderStub) SetInternalMarshalizer added in v1.5.0

func (stub *CoreComponentsHolderStub) SetInternalMarshalizer(marshalizer marshal.Marshalizer) error

SetInternalMarshalizer -

func (*CoreComponentsHolderStub) SyncTimer added in v1.5.0

func (stub *CoreComponentsHolderStub) SyncTimer() ntp.SyncTimer

SyncTimer -

func (*CoreComponentsHolderStub) TxMarshalizer added in v1.5.0

func (stub *CoreComponentsHolderStub) TxMarshalizer() marshal.Marshalizer

TxMarshalizer -

func (*CoreComponentsHolderStub) TxSignHasher added in v1.5.0

func (stub *CoreComponentsHolderStub) TxSignHasher() hashing.Hasher

TxSignHasher -

func (*CoreComponentsHolderStub) TxVersionChecker added in v1.5.0

func (stub *CoreComponentsHolderStub) TxVersionChecker() process.TxVersionCheckerHandler

TxVersionChecker -

func (*CoreComponentsHolderStub) Uint64ByteSliceConverter added in v1.5.0

func (stub *CoreComponentsHolderStub) Uint64ByteSliceConverter() typeConverters.Uint64ByteSliceConverter

Uint64ByteSliceConverter -

func (*CoreComponentsHolderStub) ValidatorPubKeyConverter added in v1.5.0

func (stub *CoreComponentsHolderStub) ValidatorPubKeyConverter() core.PubkeyConverter

ValidatorPubKeyConverter -

func (*CoreComponentsHolderStub) VmMarshalizer added in v1.5.0

func (stub *CoreComponentsHolderStub) VmMarshalizer() marshal.Marshalizer

VmMarshalizer -

func (*CoreComponentsHolderStub) WasmVMChangeLocker added in v1.5.0

func (stub *CoreComponentsHolderStub) WasmVMChangeLocker() common.Locker

WasmVMChangeLocker -

func (*CoreComponentsHolderStub) Watchdog added in v1.5.0

func (stub *CoreComponentsHolderStub) Watchdog() core.WatchdogTimer

Watchdog -

type StatusCoreComponentsStub

type StatusCoreComponentsStub struct {
	ResourceMonitorField         factory.ResourceMonitor
	NetworkStatisticsField       factory.NetworkStatisticsProvider
	TrieSyncStatisticsField      factory.TrieSyncStatisticsProvider
	AppStatusHandlerField        core.AppStatusHandler
	StatusMetricsField           external.StatusMetricsHandler
	PersistentStatusHandlerField factory.PersistentStatusHandler
}

StatusCoreComponentsStub -

func (*StatusCoreComponentsStub) AppStatusHandler

func (stub *StatusCoreComponentsStub) AppStatusHandler() core.AppStatusHandler

AppStatusHandler -

func (*StatusCoreComponentsStub) CheckSubcomponents

func (stub *StatusCoreComponentsStub) CheckSubcomponents() error

CheckSubcomponents -

func (*StatusCoreComponentsStub) Close

func (stub *StatusCoreComponentsStub) Close() error

Close -

func (*StatusCoreComponentsStub) Create

func (stub *StatusCoreComponentsStub) Create() error

Create -

func (*StatusCoreComponentsStub) IsInterfaceNil

func (stub *StatusCoreComponentsStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*StatusCoreComponentsStub) NetworkStatistics

NetworkStatistics -

func (*StatusCoreComponentsStub) PersistentStatusHandler

func (stub *StatusCoreComponentsStub) PersistentStatusHandler() factory.PersistentStatusHandler

PersistentStatusHandler -

func (*StatusCoreComponentsStub) ResourceMonitor

func (stub *StatusCoreComponentsStub) ResourceMonitor() factory.ResourceMonitor

ResourceMonitor -

func (*StatusCoreComponentsStub) StatusMetrics

StatusMetrics -

func (*StatusCoreComponentsStub) String

func (stub *StatusCoreComponentsStub) String() string

String -

func (*StatusCoreComponentsStub) TrieSyncStatistics

func (stub *StatusCoreComponentsStub) TrieSyncStatistics() factory.TrieSyncStatisticsProvider

TrieSyncStatistics -

Jump to

Keyboard shortcuts

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