factory

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: GPL-3.0 Imports: 3 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

This section is empty.

Types

type InterceptorResolverDebugHandler

type InterceptorResolverDebugHandler interface {
	LogRequestedData(topic string, hashes [][]byte, numReqIntra int, numReqCross int)
	LogReceivedHashes(topic string, hashes [][]byte)
	LogProcessedHashes(topic string, hashes [][]byte, err error)
	LogFailedToResolveData(topic string, hash []byte, err error)
	LogSucceededToResolveData(topic string, hash []byte)
	Query(topic string) []string
	Close() error
	IsInterfaceNil() bool
}

InterceptorResolverDebugHandler hold information about requested and received information

func NewInterceptorResolverDebuggerFactory

func NewInterceptorResolverDebuggerFactory(config config.InterceptorResolverDebugConfig) (InterceptorResolverDebugHandler, error)

NewInterceptorResolverDebuggerFactory will instantiate an InterceptorResolverDebugHandler based on the provided config

type ProcessDebugger

type ProcessDebugger interface {
	SetLastCommittedBlockRound(round uint64)
	Close() error
	IsInterfaceNil() bool
}

ProcessDebugger defines what a process debugger implementation should do

func CreateProcessDebugger

func CreateProcessDebugger(configs config.ProcessDebugConfig) (ProcessDebugger, error)

CreateProcessDebugger creates a new instance of type ProcessDebugger

Jump to

Keyboard shortcuts

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