Documentation ¶
Index ¶
- func GetClientID() string
- func GetClientPrivateKey() string
- func GetClientPublicKey() string
- func GetClientSysKeys() []sys.KeyPair
- func PopulateClient(clientjson string, signatureScheme string) error
- func PopulateClients(clientJsons []string, signatureScheme string) error
- func SetClientNonce(nonce int64)
- func SetTxnFee(fee uint64)
- func TxnFee() uint64
- func VerifySignature(signature string, msg string) (bool, error)
- func VerifySignatureWith(pubKey, signature, hash string) (bool, error)
- type Client
- type SignFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientID ¶
func GetClientID() string
func GetClientPrivateKey ¶ added in v1.8.11
func GetClientPrivateKey() string
func GetClientPublicKey ¶
func GetClientPublicKey() string
func GetClientSysKeys ¶ added in v1.7.6
GetClientSysKeys convert client.KeyPair to sys.KeyPair
func PopulateClient ¶
PopulateClient populates single client
func PopulateClients ¶ added in v1.4.7
PopulateClients This is a workaround for blobber tests that requires multiple clients to test authticket functionality
func SetClientNonce ¶ added in v1.8.3
func SetClientNonce(nonce int64)
func VerifySignatureWith ¶ added in v1.8.16
Types ¶
Click to show internal directories.
Click to hide internal directories.