clientState

package
v0.0.0-...-0585dc5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: GPL-3.0, LGPL-3.0, LGPL-3.0-or-later Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLastEthereumBlock

func GetLastEthereumBlock() uint64

func InitStateProcessor

func InitStateProcessor(db *badger.DB)

func SetLastEthereumBlock

func SetLastEthereumBlock(blockNumber uint64) error

Types

type ClientState

type ClientState struct {
	IsByzantine             bool
	LastEthereumBlockNumber uint64
	LastPlasmaBlockNumber   uint32
}

type ClientStateProcessor

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

Jump to

Keyboard shortcuts

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