balance

package
v1.0.0-rc2-dev Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOut

func GetOut(root *keys.Uint256) (src *localdb.OutState)

Types

type Balance

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

func NewBalance

func NewBalance() (ret *Balance)

func (*Balance) AddAccount

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

func (*Balance) GetAccount

func (self *Balance) GetAccount(tk *keys.Uint512) (ret accounts.Account)

func (*Balance) GetOut

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

func (*Balance) GetOuts

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

func (*Balance) GetPkgs

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

func (*Balance) MakesureEnv

func (self *Balance) MakesureEnv()

func (*Balance) Parse

func (self *Balance) Parse() (num uint64)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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