ethereum

package
v0.0.0-...-0c7cc47 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorFailedToConnect = fmt.Errorf("failed to connect to ethereum RPC")
View Source
var ErrorFailedToGetABlock = fmt.Errorf("failed to get a block")

Functions

func GetBlockHash

func GetBlockHash(number int64) (string, error)

func Watcher

func Watcher(divider int, ch chan SectionInfo) error

Types

type SectionInfo

type SectionInfo struct {
	SectionIndex int64
	SectionHead  string
	CHTRoot      string
	BloomRoot    string
}

Jump to

Keyboard shortcuts

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