Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockIterator ¶
type BlockIterator struct {
// contains filtered or unexported fields
}
func (*BlockIterator) Close ¶
func (b *BlockIterator) Close() error
func (*BlockIterator) Next ¶
func (b *BlockIterator) Next() (*Block, error)
type ImmutableDb ¶
type ImmutableDb struct {
// contains filtered or unexported fields
}
func New ¶
func New(dataDir string) (*ImmutableDb, error)
New returns a new ImmutableDb using the specified data directory or an error
func (*ImmutableDb) BlocksFromPoint ¶
func (i *ImmutableDb) BlocksFromPoint( point ocommon.Point, ) (*BlockIterator, error)
func (*ImmutableDb) TruncateChunksFromPoint ¶
func (i *ImmutableDb) TruncateChunksFromPoint(point ocommon.Point) error
Click to show internal directories.
Click to hide internal directories.