Documentation ¶
Index ¶
- func GetDestAddr(t *testing.T, testClient libgoal.Client, addresses []string, ...) (toAddress string)
- func GetMaxBalAddr(t *testing.T, testClient libgoal.Client, addresses []string) (someBal uint64, someAddress string)
- func RandomString(len int) string
- func WaitForRoundOne(t *testing.T, testClient libgoal.Client)
- func WaitForTransaction(t *testing.T, testClient libgoal.Client, txID string, timeout time.Duration) (tx v2.PreEncodedTxInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDestAddr ¶
func GetDestAddr(t *testing.T, testClient libgoal.Client, addresses []string, someAddress string, wh []byte) (toAddress string)
GetDestAddr returns an address that is not someAddress
func GetMaxBalAddr ¶
func GetMaxBalAddr(t *testing.T, testClient libgoal.Client, addresses []string) (someBal uint64, someAddress string)
GetMaxBalAddr returns the address with the highest balance
func RandomString ¶
RandomString helper generates a random string snippet credit to many places, one such place is https://medium.com/@kpbird/golang-generate-fixed-size-random-string-dd6dbd5e63c0
func WaitForRoundOne ¶
WaitForRoundOne waits for round 1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.