Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Randomizer ¶
type Randomizer struct {
// contains filtered or unexported fields
}
Randomizer implements the wallet/test.Randomizer interface.
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
Click to show internal directories.
Click to hide internal directories.