lstate_types

package
v1.0.0-rc13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortOutStats

func SortOutStats(db serodb.Getter, outs []*OutState)

func UpdateOutStat

func UpdateOutStat(db serodb.Putter, out *OutState)

Types

type OutStatWrap

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

type OutState

type OutState struct {
	Root     keys.Uint256
	RootCM   keys.Uint256
	OutIndex uint64
	Num      uint64
	Tk       keys.Uint512
	Out_O    stx.Out_O
	Out_Z    *stx.Out_Z `rlp:"nil"`
	Trace    keys.Uint256
	Z        bool
}

func (*OutState) Serial

func (self *OutState) Serial() (ret []byte, e error)

func (*OutState) Unserial

func (self *OutState) Unserial(v []byte) (*OutState, error)

type OutStats

type OutStats []OutStatWrap

func (OutStats) Len

func (self OutStats) Len() int

func (OutStats) Less

func (self OutStats) Less(i, j int) bool

func (OutStats) Swap

func (self OutStats) Swap(i, j int)

type Pkg

type Pkg struct {
	Pkg pkgstate.OPkg
	Key keys.Uint256
}

Jump to

Keyboard shortcuts

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