Back to godoc.org

Package blockmeta

v0.1.1-docker
Latest Go to latest

The highest tagged major version is .

Published: May 12, 2020 | License: Apache-2.0 | Module: github.com/dfuse-io/dfuse-eosio

Index

type EOSBlockmetaDB

type EOSBlockmetaDB struct {
	Driver eosdb.Driver
}

func (*EOSBlockmetaDB) BlockIDAfter

func (db *EOSBlockmetaDB) BlockIDAfter(ctx context.Context, start time.Time, inclusive bool) (id string, foundtime time.Time, err error)

func (*EOSBlockmetaDB) BlockIDAt

func (db *EOSBlockmetaDB) BlockIDAt(ctx context.Context, start time.Time) (id string, err error)

func (*EOSBlockmetaDB) BlockIDBefore

func (db *EOSBlockmetaDB) BlockIDBefore(ctx context.Context, start time.Time, inclusive bool) (id string, foundtime time.Time, err error)

func (*EOSBlockmetaDB) GetForkPreviousBlocks

func (db *EOSBlockmetaDB) GetForkPreviousBlocks(ctx context.Context, forkTop bstream.BlockRef) ([]bstream.BlockRef, error)

func (*EOSBlockmetaDB) GetIrreversibleIDAtBlockID

func (db *EOSBlockmetaDB) GetIrreversibleIDAtBlockID(ctx context.Context, id string) (ref bstream.BlockRef, err error)

func (*EOSBlockmetaDB) GetIrreversibleIDAtBlockNum

func (db *EOSBlockmetaDB) GetIrreversibleIDAtBlockNum(ctx context.Context, num uint64) (ref bstream.BlockRef, err error)

func (*EOSBlockmetaDB) GetLastWrittenBlockID

func (db *EOSBlockmetaDB) GetLastWrittenBlockID(ctx context.Context) (blockID string, err error)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier