Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FlagSplitVm is the command-line flag for subcommands that can use a // split-process Agoric VM. The default is to use an embedded VM. FlagSplitVm = "split-vm" EmbeddedVmEnvVar = "AGD_EMBEDDED_VM" )
View Source
const ( // FlagExportDir is the command-line flag for the "export" command specifying // where the output of the export should be placed. It contains both the // items names below: the genesis file, and a directory containing the // exported swing-store artifacts FlagExportDir = "export-dir" // ExportedGenesisFileName is the file name used to save the genesis in the export-dir ExportedGenesisFileName = "genesis.json" // ExportedSwingStoreDirectoryName is the directory name used to save the swing-store // export (artifacts only) in the export-dir ExportedSwingStoreDirectoryName = "swing-store" )
Variables ¶
View Source
var AppName = "agd"
View Source
var OnExportHook func(*vm.AgdServer, log.Logger, servertypes.AppOptions) error
View Source
var OnStartHook func(*vm.AgdServer, log.Logger, servertypes.AppOptions) error
Functions ¶
func AddGenesisAccountCmd ¶
AddGenesisAccountCmd returns add-genesis-account cobra Command.
func InitTestnet ¶
func InitTestnet( clientCtx client.Context, cmd *cobra.Command, nodeConfig *tmconfig.Config, mbm module.BasicManager, genBalIterator banktypes.GenesisBalancesIterator, outputDir, chainID, minGasPrices, nodeDirPrefix, nodeDaemonHome, startingIPAddress, keyringBackend, algoStr string, numValidators int, ) error
Initialize the testnet
func NewRootCmd ¶
func NewRootCmd(sender Sender) (*cobra.Command, params.EncodingConfig)
NewRootCmd creates a new root command for simd. It is called once in the main function.
Types ¶
Click to show internal directories.
Click to hide internal directories.