Documentation ¶
Index ¶
- Constants
- func Debug_State0_addout_assert(state *State0, os *OutState0)
- func Debug_Weak_panic(msg string, ctx ...interface{})
- func Need_debug() bool
- type Current
- type CurrentGet
- type OutState0
- type OutState0Get
- type State
- type State0
- func (state *State0) AddOut(out_o *stx.Out_O, out_z *stx.Out_Z) (root keys.Uint256)
- func (state *State0) AddStx(st *stx.T) (e error)
- func (state *State0) GenState0Trees() (ret State0Trees)
- func (state *State0) GetOut(root *keys.Uint256) (src *OutState0, e error)
- func (self *State0) HasIn(hash *keys.Uint256) (exists bool)
- func (self *State0) Name2BKey(name string, num uint64) (ret []byte)
- func (self *State0) Num() uint64
- func (self *State0) Revert()
- func (self *State0) Tri() tri.Tri
- func (self *State0) Update()
- type State0Block
- type State0BlockGet
- type State0Trees
Constants ¶
View Source
const BLOCK_NAME = "ZState0_BLOCK"
View Source
const LAST_OUTSTATE0_NAME = tri.KEY_NAME("ZState0_Cur")
Variables ¶
This section is empty.
Functions ¶
func Debug_Weak_panic ¶
func Debug_Weak_panic(msg string, ctx ...interface{})
func Need_debug ¶
func Need_debug() bool
Types ¶
type CurrentGet ¶
type CurrentGet struct {
// contains filtered or unexported fields
}
func (*CurrentGet) Unserial ¶
func (self *CurrentGet) Unserial(v []byte) (e error)
type OutState0Get ¶
type OutState0Get struct {
// contains filtered or unexported fields
}
func (*OutState0Get) Unserial ¶
func (self *OutState0Get) Unserial(v []byte) (e error)
type State0 ¶
type State0 struct { Cur Current Block State0Block G2ins map[keys.Uint256]bool G2outs map[keys.Uint256]*OutState0 // contains filtered or unexported fields }
func (*State0) GenState0Trees ¶
func (state *State0) GenState0Trees() (ret State0Trees)
type State0Block ¶
type State0Block struct { Tree *merkle.Tree `rlp:"nil"` Commitments []keys.Uint256 Dels []keys.Uint256 }
func (*State0Block) Serial ¶
func (self *State0Block) Serial() (ret []byte, e error)
type State0BlockGet ¶
type State0BlockGet struct {
// contains filtered or unexported fields
}
func (*State0BlockGet) Unserial ¶
func (self *State0BlockGet) Unserial(v []byte) (e error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.