Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultController = func(needReply bool, str string) (string, error) { fmt.Fprintln(os.Stderr, "FIXME: Would upcall to controller with", str) return "", nil }
DefaultController is a stub controller.
Functions ¶
func AddGenesisAccountCmd ¶
func AddGenesisAccountCmd( ctx *server.Context, depCdc *amino.Codec, cdc *codecstd.Codec, defaultNodeHome, defaultClientHome string, ) *cobra.Command
AddGenesisAccountCmd returns add-genesis-account cobra Command.
func InitTestnet ¶
func InitTestnet( cmd *cobra.Command, config *tmconfig.Config, cdc *codec.Codec, mbm module.BasicManager, genBalIterator bank.GenesisBalancesIterator, outputDir, chainID, minGasPrices, nodeDirPrefix, nodeDaemonHome, nodeCLIHome, startingIPAddress string, numValidators int, ) error
Initialize the testnet
func RunWithController ¶
func RunWithController(sendToController Sender)
RunWithController starts the app with a custom upcall handler.
Types ¶
Click to show internal directories.
Click to hide internal directories.