Documentation ¶
Index ¶
- Constants
- func Add(db sql.Executor, id types.Hash32, set *types.EpochActiveSet) error
- func DeleteBeforeEpoch(db sql.Executor, epoch types.EpochID) error
- func Get(db sql.Executor, id types.Hash32) (*types.EpochActiveSet, error)
- func GetBlobSizes(db sql.Executor, ids [][]byte) (sizes []int, err error)
- func Has(db sql.Executor, id []byte) (bool, error)
- func LoadBlob(ctx context.Context, db sql.Executor, id []byte, blob *sql.Blob) error
Constants ¶
View Source
const (
CacheKindActiveSetBlob sql.QueryCacheKind = "activeset-blob"
)
Variables ¶
This section is empty.
Functions ¶
func DeleteBeforeEpoch ¶ added in v1.2.8
func GetBlobSizes ¶ added in v1.4.1
GetBlobSizes returns the sizes of the blobs corresponding to activesets with specified ids. For non-existent activesets, the corresponding items are set to -1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.