package
3.1.3+incompatible
Repository: https://github.com/filecoin-project/mir.git
Documentation: pkg.go.dev

# Functions

BufferSizeOpt overrides the default buffer size of the interceptor buffer.
No description provided by the author
EventLimitLogger returns a function for the interceptor that splits the logging file every eventLimit number of events.
Returns a file that splits an record slice into multiple slices every time a an event eventpb.Event_NewLogFile is found.
eventTrackerLogger returns a function that tracks every single event of EventRecord and creates a new file for every event such that newFile(event) = True.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TimeSourceOpt can be used to override the default Time source for an interceptor.

# Constants

DefaultBufferSize is the number of unwritten state Events which may be held in queue before blocking.

# Variables

DefaultNewEventWriter returns the default event writer.

# Structs

No description provided by the author
No description provided by the author
Recorder is intended to be used as an implementation of the mir.EventInterceptor interface.

# Interfaces

No description provided by the author
Interceptor provides a way to gain insight into the internal operation of the node.
No description provided by the author