tx

package
v0.0.0-...-93382e6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type In_C

type In_C struct {
	Anchor  c_type.Uint256
	Nil     c_type.Uint256
	AssetCM c_type.Uint256
	ZPKa    c_type.Uint256
	Sign    c_type.Uint512
	Proof   c_type.Proof
}

func (*In_C) ToHash

func (self *In_C) ToHash() (ret c_type.Uint256)

func (*In_C) Tx1_Hash

func (self *In_C) Tx1_Hash() (ret c_type.Uint256)

type In_P

type In_P struct {
	Root  c_type.Uint256
	Nil   c_type.Uint256
	Key   *c_type.Uint256 `rlp:"nil"`
	NSign c_type.SignN
	ASign c_type.Uint512
}

func (*In_P) ToHash

func (self *In_P) ToHash() (ret c_type.Uint256)

func (*In_P) Tx1_Hash

func (self *In_P) Tx1_Hash() (ret c_type.Uint256)

type Out_C

type Out_C struct {
	PKr     c_type.PKr
	AssetCM c_type.Uint256
	RPK     c_type.Uint256
	EInfo   c_type.Einfo
	Proof   c_type.Proof
}

func (*Out_C) Clone

func (self *Out_C) Clone() (ret Out_C)

func (*Out_C) ToHash

func (self *Out_C) ToHash() (ret c_type.Uint256)

func (*Out_C) Tx1_Hash

func (self *Out_C) Tx1_Hash() (ret c_type.Uint256)

type Out_P

type Out_P struct {
	PKr   c_type.PKr
	Asset assets.Asset
	Memo  c_type.Uint512
	// contains filtered or unexported fields
}

func (*Out_P) Clone

func (self *Out_P) Clone() (ret Out_P)

func (*Out_P) ToAssetCC_Szk

func (self *Out_P) ToAssetCC_Szk() c_type.Uint256

func (*Out_P) ToHash

func (self *Out_P) ToHash() (ret c_type.Uint256)

func (Out_P) ToRef

func (this Out_P) ToRef() (ret *Out_P)

type Tx

type Tx struct {
	Ins_P  []In_P
	Ins_C  []In_C
	Outs_C []Out_C
	Outs_P []Out_P
}

func (*Tx) Count

func (self *Tx) Count() (ret int)

func (*Tx) ToHash

func (self *Tx) ToHash() (ret c_type.Uint256)

func (*Tx) Tx1_Hash

func (self *Tx) Tx1_Hash() (ret c_type.Uint256)

Jump to

Keyboard shortcuts

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