datagen

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: LGPL-3.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandAddress added in v2.1.5

func RandAddress() (addr thor.Address)

func RandAddressPtr added in v2.4.0

func RandAddressPtr() *thor.Address

func RandAddresses added in v2.4.0

func RandAddresses(n int) (addrs []thor.Address)

func RandAddressesPtr added in v2.4.0

func RandAddressesPtr(n int) (addrs []*thor.Address)

func RandBigInt added in v2.3.0

func RandBigInt() *big.Int

func RandBytes added in v2.2.0

func RandBytes(n int) []byte

func RandHostPort

func RandHostPort() string

func RandInt

func RandInt() int

func RandIntN

func RandIntN(n int) int

func RandUint32 added in v2.3.0

func RandUint32() uint32

func RandUint64 added in v2.2.0

func RandUint64() uint64

func RandomHash added in v2.1.4

func RandomHash() thor.Bytes32

Types

This section is empty.

Jump to

Keyboard shortcuts

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