Documentation ¶
Index ¶
- type OPkg
- type PkgState
- func (self *PkgState) Close(id *c_type.Uint256, pkr *c_type.PKr, key *c_type.Uint256) (ret OPkg, e error)
- func (self *PkgState) Force_add(from *c_type.PKr, pack *stx.PkgCreate) (e error)
- func (self *PkgState) Force_del(hash *c_type.Uint256, close *stx.PkgClose) (e error)
- func (self *PkgState) Force_transfer(hash *c_type.Uint256, trans *stx.PkgTransfer) (e error)
- func (self *PkgState) GetPkgByHash(hash *c_type.Uint256) (ret *localdb.ZPkg)
- func (self *PkgState) GetPkgById(id *c_type.Uint256) (ret *localdb.ZPkg)
- func (state *PkgState) GetPkgHashes() (ret []c_type.Uint256)
- func (self *PkgState) RecordState(putter decedb.Putter, hash *c_type.Uint256)
- func (self *PkgState) Revert(revid int)
- func (self *PkgState) Snapshot(revid int)
- func (self *PkgState) Transfer(id *c_type.Uint256, pkr *c_type.PKr, to *c_type.PKr) (e error)
- func (self *PkgState) Update()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PkgState ¶
type PkgState struct {
// contains filtered or unexported fields
}
func (*PkgState) Force_transfer ¶
func (*PkgState) GetPkgByHash ¶
func (*PkgState) GetPkgById ¶
func (*PkgState) GetPkgHashes ¶
func (*PkgState) RecordState ¶
Click to show internal directories.
Click to hide internal directories.