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 NewRootCmd ¶
NewRootCmd creates a new root command for simd. It is called once in the main function.
Types ¶
type CustomAppConfig ¶
type CustomAppConfig struct { serverconfig.Config `mapstructure:",squash"` // Swingset must be named as expected by swingset.DefaultConfigTemplate // and must use a mapstructure key matching swingset.ConfigPrefix. Swingset swingset.SwingsetConfig `mapstructure:"swingset"` Rosetta rosetta.Config `mapstructure:"rosetta"` }
CustomAppConfig extends the base config struct.
Click to show internal directories.
Click to hide internal directories.