package
Version:
v1.19.8
Opens a new window with list of versions in this module.
Published: Dec 15, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type BlockData struct {
BodyVersion uint64
BodyData []byte
Body interface{}
}
type BlockDbEngine interface {
Close() error
GetBlock(ctx context.Context, slot uint64, root []byte, parseBlock func(uint64, []byte) (interface{}, error)) (*BlockData, error)
AddBlock(ctx context.Context, slot uint64, root []byte, dataCb func() (*BlockData, error)) (bool, error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.