pkg

package
v0.4.0-beta.r1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: GPL-3.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmPkg

func ConfirmPkg(o *Pkg_O, z *Pkg_Z) (e error)

func GetKey

func GetKey(pkr *keys.PKr, tk *keys.Uint512) (ret keys.Uint256)

Types

type Pkg_O

type Pkg_O struct {
	Asset assets.Asset
	Memo  keys.Uint512
	Ar    keys.Uint256
}

func DePkg

func DePkg(key *keys.Uint256, pkg *Pkg_Z) (ret Pkg_O, e error)

func (*Pkg_O) Clone

func (self *Pkg_O) Clone() (ret Pkg_O)

func (*Pkg_O) ToHash

func (self *Pkg_O) ToHash() (ret keys.Uint256)

func (Pkg_O) ToRef

func (this Pkg_O) ToRef() (ret *Pkg_O)

type Pkg_Z

type Pkg_Z struct {
	AssetCM keys.Uint256
	PkgCM   keys.Uint256
	EInfo   [cpt.INFO_WIDTH]byte `json:"-"`
}

func (*Pkg_Z) Clone

func (self *Pkg_Z) Clone() (ret Pkg_Z)

func (*Pkg_Z) ToHash

func (self *Pkg_Z) ToHash() (ret keys.Uint256)

func (Pkg_Z) ToRef

func (this Pkg_Z) ToRef() (ret *Pkg_Z)

Jump to

Keyboard shortcuts

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