txs

package
v0.3.1-beta.rc.5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var G_p_thread_num = runtime.NumCPU()
View Source
var G_v_thread_num = runtime.NumCPU()

Functions

func CheckInt

func CheckInt(i *utils.I256) bool

func CheckUint

func CheckUint(i *utils.U256) bool

func GeTktRoots

func GeTktRoots(outs []*state1.OutState1, categroy *keys.Uint256, tkts []keys.Uint256, exits []keys.Uint256) (roots []keys.Uint256, tkns map[keys.Uint256]utils.U256, e error)

func Gen

func Gen(seed *keys.Uint256, t *tx.T) (s stx.T, e error)

func Gen_state1

func Gen_state1(seed *keys.Uint256, t *tx.T, st1 *state1.State1) (s stx.T, e error)

func GetOuts

func GetOuts(tk *keys.Uint512) (outs []*state1.OutState1, e error)

func GetRoots

func GetRoots(tk *keys.Uint512, costTkns map[keys.Uint256]utils.U256, costTkts map[keys.Uint256][]keys.Uint256) (roots []keys.Uint256, tknMap map[keys.Uint256]utils.U256, tktMap map[keys.Uint256][]keys.Uint256, e error)

func GetTknRoots

func GetTknRoots(outs []*state1.OutState1, v *utils.U256, currency *keys.Uint256) (roots []keys.Uint256, amount utils.U256, tkts map[keys.Uint256][]keys.Uint256, e error)

func Verify

func Verify(s *stx.T, state *zstate.State0) (e error)

func Verify_state1

func Verify_state1(s *stx.T, state *zstate.State0) (e error)

Types

This section is empty.

Directories

Path Synopsis
tri

Jump to

Keyboard shortcuts

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