test

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWallet

func NewWallet() *wallet.FsWallet

Types

type Randomizer

type Randomizer struct {
	// contains filtered or unexported fields
}

Randomizer implements the wallet/test.Randomizer interface.

func NewRandomizer

func NewRandomizer() *Randomizer

NewRandomizer returns a new Randomizer.

func (*Randomizer) NewRandomAccount

func (r *Randomizer) NewRandomAccount(rng *rand.Rand) pwallet.Account

NewRandomAccount creates a new random account using the wallet package.

func (*Randomizer) NewRandomAddress

func (r *Randomizer) NewRandomAddress(rng *rand.Rand) pwallet.Address

NewRandomAddress creates a new random address using the wallet package.

func (*Randomizer) NewWallet

func (r *Randomizer) NewWallet() ptest.Wallet

func (*Randomizer) RandomWallet

func (r *Randomizer) RandomWallet() ptest.Wallet

Jump to

Keyboard shortcuts

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