Documentation ¶
Index ¶
- func Run(bc BlockChain)
- func SortOutStats(st *txstate.State, outs []*OutState)
- func UpdateOutStat(st *txstate.State, out *OutState)
- type BlockChain
- type OutStat
- type OutStatGet
- type OutStatWrap
- type OutState
- type OutStats
- type Pkg
- type State
- func (self *State) Finalize(saveName string, num uint64)
- func (state *State) GetOut(root *keys.Uint256) (src *OutState, e error)
- func (self *State) GetOuts(tk *keys.Uint512) (outs []*OutState, e error)
- func (state *State) GetPkgs(tk *keys.Uint512, is_from bool) (ret []*Pkg)
- func (state *State) UpdateWitness(tks []keys.Uint512, num uint64, block *zstate.Block)
- type StateData
- type StateDataGet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(bc BlockChain)
func SortOutStats ¶
func UpdateOutStat ¶
Types ¶
type BlockChain ¶
type OutStatGet ¶
type OutStatGet struct {
// contains filtered or unexported fields
}
func (*OutStatGet) Unserial ¶
func (self *OutStatGet) Unserial(v []byte) (e error)
type OutStatWrap ¶
type OutStatWrap struct {
// contains filtered or unexported fields
}
type OutState ¶
type OutStats ¶
type OutStats []OutStatWrap
type State ¶
type State struct { State *zstate.ZState G2outs map[keys.Uint256]*OutState G2wouts []keys.Uint256 G2pkgs_from map[keys.Uint256]*Pkg G2pkgs_to map[keys.Uint256]*Pkg // contains filtered or unexported fields }
func CurrentState1 ¶
func CurrentState1() *State
type StateDataGet ¶
type StateDataGet struct {
// contains filtered or unexported fields
}
func (*StateDataGet) Unserial ¶
func (self *StateDataGet) Unserial(v []byte)
Click to show internal directories.
Click to hide internal directories.