Documentation ¶
Index ¶
- func FetchRootCM(tk *c_type.Tk, nl *c_type.Uint256, baser *c_type.Uint256) (root_cm c_type.Uint256, e error)
- func IsMyPKr(tk *c_type.Tk, pkr *c_type.PKr) (succ bool)
- func IsPKValid(pk *c_type.Uint512) bool
- func IsPKrValid(pkr *c_type.PKr) bool
- func Pk2PKr(addr *c_type.Uint512, r *c_type.Uint256) (pkr c_type.PKr)
- func Seed2Sk(seed *c_type.Uint256) (ret c_type.Uint512)
- 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(sk *c_type.Uint512) (tk c_type.Tk, e error)
- func Tk2Pk(tk *c_type.Tk) (ret c_type.Uint512, e error)
- func VerifyPKr_ByHeight(num uint64, data *c_type.Uint256, sign *c_type.Uint512, pkr *c_type.PKr) bool
- func ZeroInit(account_dir string, netType c_type.NetType) error
- func ZeroInit_NoCircuit() error
- func ZeroInit_OnlyInOuts() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchRootCM ¶
func IsPKrValid ¶
func SignPKr_ByHeight ¶
func VerifyPKr_ByHeight ¶
func ZeroInit_NoCircuit ¶
func ZeroInit_NoCircuit() error
func ZeroInit_OnlyInOuts ¶
func ZeroInit_OnlyInOuts() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.