wallet

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: BSD-3-Clause Imports: 6 Imported by: 2

Documentation

Overview

Package wallet defines wallet utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken(
	walletClient *client.Client,
	usage string,
	owner *[ed25519.PublicKeySize]byte,
) (*client.TokenEntry, error)

GetToken returns a token for the given usage and owner from walletClient. It automatically retries if it gets a client.ErrRetry error. The maximum retrial duration is defined by def.WalletGetTokenMaxDuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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