Documentation
¶
Index ¶
- func InitWithPebble(config dtypes.PebbleBlockDBConfig) error
- func InitWithS3(config dtypes.S3BlockDBConfig) error
- type BlockDb
- func (db *BlockDb) AddBlock(ctx context.Context, slot uint64, root []byte, header_ver uint64, ...) (bool, error)
- func (db *BlockDb) AddBlockWithCallback(ctx context.Context, slot uint64, root []byte, ...) (bool, error)
- func (db *BlockDb) Close() error
- func (db *BlockDb) GetBlock(ctx context.Context, slot uint64, root []byte, ...) (*types.BlockData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitWithPebble ¶
func InitWithPebble(config dtypes.PebbleBlockDBConfig) error
func InitWithS3 ¶
func InitWithS3(config dtypes.S3BlockDBConfig) error
Types ¶
Click to show internal directories.
Click to hide internal directories.