lib

package
v0.0.0-...-2fe5e27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GethDB

type GethDB struct {
	// contains filtered or unexported fields
}

func NewGethDB

func NewGethDB(dbFilePath string) *GethDB

func (*GethDB) DB

func (g *GethDB) DB() *ethdb.LDBDatabase

func (*GethDB) GetCanonicalHash

func (g *GethDB) GetCanonicalHash(number uint64) []byte

GetCanonicalHash returns the stored CHT Hash for a given number

func (*GethDB) GetHeaderRLP

func (g *GethDB) GetHeaderRLP(hash []byte, number uint64) []byte

GetHeaderRLP returns the RLP of the block header for a pair (hash, number) as key

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL