utils

package
v0.0.0-...-a4757fd Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(chainID string)

func Has

func Has(chainID string) bool

func LoadHeight

func LoadHeight(chainID string) def.INT

func Store

func Store(chainID string, d *AngineData)

func UpdateHeight

func UpdateHeight(chainID string, height def.INT)

Types

type AngineData

type AngineData struct {
	Height def.INT // LastBlockHeight of state
}

func Load

func Load(chainID string) (AngineData, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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