Documentation ¶
Index ¶
- func BlockKey(num uint64, hash *keys.Uint256) []byte
- func GetRootByRootCM(db serodb.Getter, root_cm *keys.Uint256) (root *keys.Uint256)
- func OutKey(root *keys.Uint256) []byte
- func PkgKey(root *keys.Uint256) []byte
- func PutBlock(db serodb.Putter, num uint64, hash *keys.Uint256, block *Block)
- func PutPkg(db serodb.Putter, hash *keys.Uint256, pkg *ZPkg)
- func PutRoot(db serodb.Putter, root *keys.Uint256, rs *RootState)
- func Root2TxHashKey(root *keys.Uint256) []byte
- func RootCM2RootKey(root_cm *keys.Uint256) []byte
- func UpdateOutStat(db serodb.Putter, root *keys.Uint256, os *OutStat)
- type Block
- type BlockGet
- type OutStat
- type OutStatGet
- type OutState
- func (self *OutState) Clone() (ret OutState)
- func (out *OutState) IsO() bool
- func (self *OutState) Serial() (ret []byte, e error)
- func (self *OutState) ToIndexRsk() (ret keys.Uint256)
- func (self *OutState) ToOutCM() *keys.Uint256
- func (self *OutState) ToPKr() *keys.PKr
- func (self *OutState) ToRootCM() *keys.Uint256
- type OutState0Get
- type PkgGet
- type RootState
- type RootStateGet
- type ZPkg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRootByRootCM ¶
func Root2TxHashKey ¶
func RootCM2RootKey ¶
Types ¶
type OutStatGet ¶
type OutStatGet struct {
// contains filtered or unexported fields
}
func (*OutStatGet) Unserial ¶
func (self *OutStatGet) Unserial(v []byte) (e error)
type OutState ¶
type OutState struct { Index uint64 Out_O *stx.Out_O `rlp:"nil"` Out_Z *stx.Out_Z `rlp:"nil"` OutCM *keys.Uint256 `rlp:"nil"` RootCM *keys.Uint256 `rlp:"nil"` }
func (*OutState) ToIndexRsk ¶
type OutState0Get ¶
type OutState0Get struct {
Out *OutState
}
func (*OutState0Get) Unserial ¶
func (self *OutState0Get) Unserial(v []byte) (e error)
type RootStateGet ¶
type RootStateGet struct {
Out *RootState
}
func (*RootStateGet) Unserial ¶
func (self *RootStateGet) Unserial(v []byte) (e error)
Click to show internal directories.
Click to hide internal directories.