modules

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExecutionTraceNotFound = xerrors.Errorf("failed to find execution trace")

Functions

func LoadConf

func LoadConf(path string) func(mctx helpers.MetricsCtx, lc fx.Lifecycle) (*config.Conf, error)

func NewEvents

func NewEvents(mctx helpers.MetricsCtx, lc fx.Lifecycle, chainAPI full.ChainModuleAPI, stateAPI full.StateModuleAPI) (*events.Events, error)

func NewStorageCatalog

func NewStorageCatalog(mctx helpers.MetricsCtx, lc fx.Lifecycle, cfg *config.Conf) (*storage.Catalog, error)

Types

type BufferedExecMonitor

type BufferedExecMonitor struct {
	// contains filtered or unexported fields
}

func NewBufferedExecMonitor

func NewBufferedExecMonitor() *BufferedExecMonitor

func (*BufferedExecMonitor) ExecutionFor

func (b *BufferedExecMonitor) ExecutionFor(ts *types.TipSet) ([]*BufferedExecution, error)

So long as we are are always driving this method with tipsets we get from HeadEvents then we should always find a tipset in here.

func (*BufferedExecMonitor) MessageApplied

func (b *BufferedExecMonitor) MessageApplied(ctx context.Context, ts *types.TipSet, mcid cid.Cid, msg *types.Message, ret *vm.ApplyRet, implicit bool) error

type BufferedExecution

type BufferedExecution struct {
	TipSet   *types.TipSet
	Mcid     cid.Cid
	Msg      *types.Message
	Ret      *vm.ApplyRet
	Implicit bool
}

Jump to

Keyboard shortcuts

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