lstate

package
v1.0.0-flight-interface Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLState

func InitLState()

Types

type LState

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

func CurrentLState

func CurrentLState() *LState

func (*LState) AddAccount

func (self *LState) AddAccount(tk *keys.Uint512) (ret bool)

func (*LState) CurrentZState

func (self *LState) CurrentZState() *zstate.ZState

func (*LState) GetAccount

func (self *LState) GetAccount(tk *keys.Uint512) (tkn map[keys.Uint256]*utils.U256, tkt map[keys.Uint256][]keys.Uint256)

func (*LState) GetOut

func (self *LState) GetOut(root *keys.Uint256) (src *lstate_types.OutState, e error)

func (*LState) GetOuts

func (self *LState) GetOuts(tk *keys.Uint512) (outs []*lstate_types.OutState, e error)

func (*LState) GetPkgs

func (self *LState) GetPkgs(tk *keys.Uint512, is_from bool) (ret []*lstate_types.Pkg)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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