modules

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0, MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExecutionTraceNotFound = fmt.Errorf("failed to find execution trace")

Functions

func CacheConfig added in v0.8.6

func CacheConfig(blockstoreCacheSize uint, statestoreCacheSize uint) func(lc fx.Lifecycle, mctx helpers.MetricsCtx) (*util.CacheConfig, error)

func LoadConf

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

func NewCachingUniversalBlockstore added in v0.8.6

func NewCachingUniversalBlockstore(lc fx.Lifecycle, mctx helpers.MetricsCtx, cc *util.CacheConfig, r repo.LockedRepo) (dtypes.UniversalBlockstore, error)

func NewEvents

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

func NewQueueCatalog added in v0.10.0

func NewQueueCatalog(mctx helpers.MetricsCtx, lc fx.Lifecycle, cfg *config.Conf) (*distributed.Catalog, 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