package eradb
import "github.com/ethereum/go-ethereum/core/rawdb/eradb"
Package eradb implements a history backend using era1 files.
Index ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store manages read access to a directory of era1 files. The getter methods are thread-safe.
func New ¶
New opens the store directory.
func (*Store) Close ¶
func (db *Store) Close()
Close closes all open era1 files in the cache.
func (*Store) GetRawBody ¶
GetRawBody returns the raw body for a given block number.
func (*Store) GetRawReceipts ¶
GetRawReceipts returns the raw receipts for a given block number.
Source Files ¶
- Version
- v1.16.1 (latest)
- Published
- Jul 2, 2025
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 21 hours ago –
Tools for package owners.