Versions in this module Expand all Collapse all v0 v0.60.1 Sep 27, 2024 Changes in this version + type AppConstructor = func(val Validator) servertypes.Application + func NewAppConstructor(encodingCfg params.EncodingConfig) AppConstructor + type CLILogger struct + func NewCLILogger(cmd *cobra.Command) CLILogger + func (s CLILogger) Log(args ...interface{}) + func (s CLILogger) Logf(format string, args ...interface{}) + type Config struct + APIAddress string + AccountRetriever client.AccountRetriever + AccountTokens math.Int + AppConstructor AppConstructor + BondDenom string + BondedTokens math.Int + ChainID string + CleanupDir bool + Codec codec.Codec + EnableTMLogging bool + GRPCAddress string + GenesisState map[string]json.RawMessage + InterfaceRegistry codectypes.InterfaceRegistry + KeyringOptions []keyring.Option + LegacyAmino *codec.LegacyAmino + MinGasPrices string + Mnemonics []string + NumValidators int + PrintMnemonic bool + PruningStrategy string + RPCAddress string + SigningAlgo string + StakingTokens math.Int + TimeoutCommit time.Duration + TxConfig client.TxConfig + func DefaultConfig() Config + type Logger interface + Log func(args ...interface{}) + Logf func(format string, args ...interface{}) + type Network struct + BaseDir string + Config Config + Logger Logger + Validators []*Validator + func New(l Logger, baseDir string, cfg Config) (*Network, error) + func (n *Network) Cleanup() + func (n *Network) LatestHeight() (int64, error) + func (n *Network) WaitForHeight(h int64) (int64, error) + func (n *Network) WaitForHeightWithTimeout(h int64, t time.Duration) (int64, error) + func (n *Network) WaitForNextBlock() error + type Validator struct + APIAddress string + Address sdk.AccAddress + AppConfig *srvconfig.Config + ClientCtx client.Context + Ctx *server.Context + Dir string + Moniker string + NodeID string + P2PAddress string + PubKey cryptotypes.PubKey + RPCAddress string + RPCClient tmclient.Client + ValAddress sdk.ValAddress