Documentation ¶
Index ¶
- Variables
- func CacheConfig(blockstoreCacheSize uint, statestoreCacheSize uint) func(lc fx.Lifecycle, mctx helpers.MetricsCtx) (*util.CacheConfig, error)
- func LoadConf(path string) func(mctx helpers.MetricsCtx, lc fx.Lifecycle) (*config.Conf, error)
- func NewCachingUniversalBlockstore(lc fx.Lifecycle, mctx helpers.MetricsCtx, cc *util.CacheConfig, ...) (dtypes.UniversalBlockstore, error)
- func NewEvents(mctx helpers.MetricsCtx, lc fx.Lifecycle, chainAPI full.ChainModuleAPI, ...) (*events.Events, error)
- func NewQueueCatalog(mctx helpers.MetricsCtx, lc fx.Lifecycle, cfg *config.Conf) (*distributed.Catalog, error)
- func NewStorageCatalog(mctx helpers.MetricsCtx, lc fx.Lifecycle, cfg *config.Conf) (*storage.Catalog, error)
- func StateManager(lmctx helpers.MetricsCtx, lc fx.Lifecycle, cs *store.ChainStore, ...) (*stmgr.StateManager, error)
- type BufferedExecMonitor
- type BufferedExecution
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 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 StateManager ¶
func StateManager(lmctx helpers.MetricsCtx, lc fx.Lifecycle, cs *store.ChainStore, exec stmgr.Executor, sys vm.SyscallBuilder, us stmgr.UpgradeSchedule, bs beacon.Schedule, em stmgr.ExecMonitor) (*stmgr.StateManager, 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.
Click to show internal directories.
Click to hide internal directories.