Documentation ¶
Index ¶
- Variables
- func IrrIDFromAPI(ctx context.Context, _ uint64, libNum uint64) (string, error)
- type EOSBlockmetaDB
- func (db *EOSBlockmetaDB) BlockIDAfter(ctx context.Context, start time.Time, inclusive bool) (id string, foundtime time.Time, err error)
- func (db *EOSBlockmetaDB) BlockIDAt(ctx context.Context, start time.Time) (id string, err error)
- func (db *EOSBlockmetaDB) BlockIDBefore(ctx context.Context, start time.Time, inclusive bool) (id string, foundtime time.Time, err error)
- func (db *EOSBlockmetaDB) GetForkPreviousBlocks(ctx context.Context, forkTop bstream.BlockRef) ([]bstream.BlockRef, error)
- func (db *EOSBlockmetaDB) GetIrreversibleIDAtBlockID(ctx context.Context, id string) (ref bstream.BlockRef, err error)
- func (db *EOSBlockmetaDB) GetIrreversibleIDAtBlockNum(ctx context.Context, num uint64) (ref bstream.BlockRef, err error)
- func (db *EOSBlockmetaDB) GetLastWrittenBlockID(ctx context.Context) (blockID string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var APIs []*eos.API
View Source
var ExtraAPIs []*eos.API
Functions ¶
Types ¶
type EOSBlockmetaDB ¶
func (*EOSBlockmetaDB) BlockIDAfter ¶
func (*EOSBlockmetaDB) BlockIDBefore ¶
func (*EOSBlockmetaDB) GetForkPreviousBlocks ¶
func (*EOSBlockmetaDB) GetIrreversibleIDAtBlockID ¶
func (*EOSBlockmetaDB) GetIrreversibleIDAtBlockNum ¶
func (*EOSBlockmetaDB) GetLastWrittenBlockID ¶
func (db *EOSBlockmetaDB) GetLastWrittenBlockID(ctx context.Context) (blockID string, err error)
Click to show internal directories.
Click to hide internal directories.