localstore

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainLoader

type ChainLoader interface {
	TipSetLoader
	MessageLoader
}

type FullTipSetLoader

type FullTipSetLoader interface {
	LoadFullTipSet(ctx context.Context, tsk types.TipSetKey) (*types.FullTipSet, error)
}

type FullTipSetStorer

type FullTipSetStorer interface {
	StoreFullTipSet(ctx context.Context, fb *types.FullTipSet) error
}

type MessageLoader

type MessageLoader interface {
	ReadMsgMetaCids(ctx context.Context, mmc cid.Cid) ([]cid.Cid, []cid.Cid, error)

	LoadMessagesFromCids(ctx context.Context, cids []cid.Cid) ([]*types.Message, error)
	LoadSignedMessagesFromCids(ctx context.Context, cids []cid.Cid) ([]*types.SignedMessage, error)
}

type TipSetLoader

type TipSetLoader interface {
	GetTipSet(context.Context, types.TipSetKey) (*types.TipSet, error)
}

Jump to

Keyboard shortcuts

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