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 ¶ added in v1.4.0
type ProcessDebugger interface { SetLastCommittedBlockRound(round uint64) Close() error IsInterfaceNil() bool }
ProcessDebugger defines what a process debugger implementation should do
func CreateProcessDebugger ¶ added in v1.4.0
func CreateProcessDebugger(configs config.ProcessDebugConfig) (ProcessDebugger, error)
CreateProcessDebugger creates a new instance of type ProcessDebugger
Click to show internal directories.
Click to hide internal directories.