Documentation
¶
Index ¶
Constants ¶
const ( DefaultConfigBasename = "config" DefaultConfigType = "toml" )
Variables ¶
var BurrowCmd = &cobra.Command{ Use: "burrow", Short: "burrow is the node server of a burrow chain", Long: `burrow is the node server of a burrow chain. burrow combines a modular consensus engine and application manager to run a chain to suit your needs. Made with <3 by Monax Industries. Complete documentation is available at https://monax.io/docs ` + "\nVERSION:\n " + version.VERSION, Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, }
var DefaultConfigFilename = fmt.Sprintf("%s.%s", DefaultConfigBasename, DefaultConfigType)
Functions ¶
func AddCommands ¶
func AddCommands(do *definitions.Do)
func AddGlobalFlags ¶
func AddGlobalFlags(do *definitions.Do)
func NewCoreFromDo ¶ added in v0.16.0
func NewCoreFromDo(do *definitions.Do) (*core.Core, error)
------------------------------------------------------------------------------ functions
func ServeRunner ¶ added in v0.16.0
func ServeRunner(do *definitions.Do) func(*cobra.Command, []string)
ServeRunner() returns a command runner that prepares the environment and sets up the core for burrow to run. After the setup succeeds, it starts the core and waits for the core to terminate.
Types ¶
This section is empty.