chains

package
v0.0.0-...-9588916 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Processor = &processor{
	syncChan:     make(chan bool, 1),
	shutdownChan: make(chan bool, 1),
}

Functions

func InitBlockProcessor

func InitBlockProcessor(chain string, net string) error

Types

type DaemonClient

type DaemonClient interface {
	BestHeight() (int, error)
	GetBlockHashes(start int, count int) ([]string, error) // get block hash for cmp
	SyncBlock(start int, count int) error                  // should delete reverted blocks
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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