stx

package
v0.3.0-beta.rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2018 License: GPL-3.0 Imports: 7 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Desc_O

type Desc_O struct {
	Ins  []In_O
	Outs []Out_O
}

func (*Desc_O) ToHash_for_z

func (self *Desc_O) ToHash_for_z() (ret keys.Uint256)

type Desc_Z

type Desc_Z struct {
	Ins  []In_Z
	Outs []Out_Z
}

func (*Desc_Z) ToHash

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

type In_O

type In_O struct {
	Root keys.Uint256
	Sign keys.Uint512
}

func (In_O) MarshalText

func (ino In_O) MarshalText() ([]byte, error)

func (*In_O) ToHash_for_z

func (self *In_O) ToHash_for_z() (ret keys.Uint256)

type In_Z

type In_Z struct {
	Anchor  keys.Uint256
	Nil     keys.Uint256
	Trace   keys.Uint256
	AssetCM keys.Uint256
	Proof   cpt.Proof
}

func (*In_Z) ToHash

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

type Out_O

type Out_O struct {
	Addr  keys.Uint512
	Asset assets.Asset
	Memo  keys.Uint512
}

func (*Out_O) Clone

func (self *Out_O) Clone() (ret Out_O)

func (*Out_O) ToHash

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

func (Out_O) ToRef

func (this Out_O) ToRef() (ret *Out_O)

type Out_Z

type Out_Z struct {
	AssetCM keys.Uint256
	OutCM   keys.Uint256
	EInfo   [cpt.INFO_WIDTH]byte `json:"-"`
	PKr     keys.Uint512
	Proof   cpt.Proof
}

func (*Out_Z) Clone

func (self *Out_Z) Clone() (ret Out_Z)

func (*Out_Z) ToHash

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

func (Out_Z) ToRef

func (this Out_Z) ToRef() (ret *Out_Z)

type Proof

type Proof [cpt.PROOF_WIDTH]byte

func (Proof) MarshalText

func (b Proof) MarshalText() ([]byte, error)

func (*Proof) ToHash

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

type T

type T struct {
	Ehash  keys.Uint256
	From   keys.Uint512
	Fee    utils.U256
	Sign   keys.Uint512
	Bcr    keys.Uint256
	Bsign  keys.Uint512
	Desc_Z Desc_Z
	Desc_O Desc_O
}

func (*T) ToHash

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

func (*T) ToHash_for_o

func (self *T) ToHash_for_o() (ret keys.Uint256)

func (*T) ToHash_for_z

func (self *T) ToHash_for_z() (ret keys.Uint256)

Jump to

Keyboard shortcuts

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