superzk

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchRootCM

func FetchRootCM(tk *c_type.Tk, nl *c_type.Uint256, baser *c_type.Uint256) (root_cm c_type.Uint256, e error)

func IsMyPKr

func IsMyPKr(tk *c_type.Tk, pkr *c_type.PKr) (succ bool)

func IsPKValid

func IsPKValid(pk *c_type.Uint512) bool

func IsPKrValid

func IsPKrValid(pkr *c_type.PKr) bool

func Pk2PKr

func Pk2PKr(addr *c_type.Uint512, r *c_type.Uint256) (pkr c_type.PKr)

func Seed2Sk

func Seed2Sk(seed *c_type.Uint256) (ret c_type.Uint512)

func SignPKr_ByHeight

func SignPKr_ByHeight(num uint64, sk *c_type.Uint512, data *c_type.Uint256, pkr *c_type.PKr) (sign c_type.Uint512, e error)

func Sk2Tk

func Sk2Tk(sk *c_type.Uint512) (tk c_type.Tk, e error)

func Tk2Pk

func Tk2Pk(tk *c_type.Tk) (ret c_type.Uint512, e error)

func VerifyPKr_ByHeight

func VerifyPKr_ByHeight(num uint64, data *c_type.Uint256, sign *c_type.Uint512, pkr *c_type.PKr) bool

func ZeroInit

func ZeroInit(account_dir string, netType c_type.NetType) error

func ZeroInit_NoCircuit

func ZeroInit_NoCircuit() error

func ZeroInit_OnlyInOuts

func ZeroInit_OnlyInOuts() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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