Versions in this module Expand all Collapse all v0 v0.34.7 Oct 3, 2019 Changes in this version + func CreateAddr(t *testing.T, name, password string, kb crkeys.Keybase) (sdk.AccAddress, string) + func CreateAddrs(t *testing.T, kb crkeys.Keybase, numAddrs int) (addrs []sdk.AccAddress, seeds, names, passwords []string) + func GetConfig() *tmcfg.Config + func InitClientHome(t *testing.T, dir string) string + func InitializeTestLCD(t *testing.T, nValidators int, initAddrs []sdk.AccAddress, minting bool) (cleanup func(), valConsPubKeys []crypto.PubKey, valOperAddrs []sdk.ValAddress, ...) + func Request(t *testing.T, port, method, path string, payload []byte) (*http.Response, string) + func ServeCommand(cdc *codec.Codec, registerRoutesFn func(*RestServer)) *cobra.Command + type AddrSeed struct + Address sdk.AccAddress + Name string + Password string + Seed string + type AddrSeedSlice []AddrSeed + func (b AddrSeedSlice) Len() int + func (b AddrSeedSlice) Less(i, j int) bool + func (b AddrSeedSlice) Swap(i, j int) + type RestServer struct + Cdc *codec.Codec + CliCtx context.CLIContext + KeyBase keybase.Keybase + Mux *mux.Router + func NewRestServer(cdc *codec.Codec) *RestServer + func (rs *RestServer) Start(listenAddr string, maxOpen int) (err error)