blobstore

package
v1.16.7 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store is a simple in-memory store of blobs, for testing purposes

func New

func New() *Store

func (*Store) GetBlobsByHash added in v1.16.7

func (store *Store) GetBlobsByHash(ctx context.Context, time uint64, hashes []common.Hash) ([]*eth.Blob, error)

GetBlobsByHash returns a slice of blobs in the slot at the given timestamp, corresponding to the supplied versioned hashes. If the provided hashes is empty, all blobs in the store at the supplied timestamp are returned. Blobs are ordered by their index in the block.

func (*Store) StoreBlob

func (store *Store) StoreBlob(blockTime uint64, indexedHash eth.IndexedBlobHash, blob *eth.Blob)

Jump to

Keyboard shortcuts

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