dascache

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DasCache

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

func NewDasCache

func NewDasCache(ctx context.Context, wg *sync.WaitGroup) *DasCache

func (*DasCache) AddBlockOutPoint added in v1.2.0

func (d *DasCache) AddBlockOutPoint(outPoint []string)

func (*DasCache) AddCellInputByAction

func (d *DasCache) AddCellInputByAction(action common.DasAction, inputs []*types.CellInput)

func (*DasCache) AddOutPoint

func (d *DasCache) AddOutPoint(outPoint []string)

func (*DasCache) AddOutPointWithDuration added in v1.2.0

func (d *DasCache) AddOutPointWithDuration(outPoint []string, duration time.Duration)

func (*DasCache) ClearOutPoint added in v1.2.0

func (d *DasCache) ClearOutPoint(outPoint []string)

func (*DasCache) ExistOutPoint

func (d *DasCache) ExistOutPoint(outPoint string) bool

func (*DasCache) RunClearExpiredOutPoint

func (d *DasCache) RunClearExpiredOutPoint(t time.Duration)

Jump to

Keyboard shortcuts

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