zstate

package
v0.7.3-beta.r7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: GPL-3.0 Imports: 13 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZState

type ZState struct {
	Tri tri.Tri

	State txstate.State
	Pkgs  pkgstate.PkgState
	// contains filtered or unexported fields
}

func NewState

func NewState(tri0 tri.Tri, num uint64) (state *ZState)

func (*ZState) AddOut_O

func (state *ZState) AddOut_O(out *stx.Out_O)

func (*ZState) AddStx

func (state *ZState) AddStx(st *stx.T) (e error)

func (*ZState) AddTxOut

func (state *ZState) AddTxOut(addr common.Address, asset assets.Asset)

func (*ZState) AddTxOutWithCheck

func (state *ZState) AddTxOutWithCheck(addr common.Address, asset assets.Asset) (alarm bool)

func (*ZState) Copy

func (self *ZState) Copy() *ZState

func (*ZState) Num

func (self *ZState) Num() uint64

func (*ZState) PreGenerateRoot

func (self *ZState) PreGenerateRoot(header *types.Header, ch txstate.Chain)

func (*ZState) RecordBlock

func (self *ZState) RecordBlock(db serodb.Putter, hash *keys.Uint256)

func (*ZState) Revert

func (self *ZState) Revert(revid int)

func (*ZState) Snapshot

func (self *ZState) Snapshot(revid int)

func (*ZState) Update

func (self *ZState) Update()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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