start

package
v0.14.0-beta2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const EnvPrefix = "FLOW"

Variables

This section is empty.

Functions

func Cmd

func Cmd(getServiceKey serviceKeyFunc) *cobra.Command

func Exit

func Exit(code int, msg string)

Types

type Config

type Config struct {
	Port                   int           `default:"3569" flag:"port,p" info:"port to run RPC server"`
	HTTPPort               int           `default:"8080" flag:"http-port" info:"port to run HTTP server"`
	Verbose                bool          `default:"false" flag:"verbose,v" info:"enable verbose logging"`
	BlockTime              time.Duration `` /* 147-byte string literal not displayed */
	ServicePrivateKey      string        `flag:"service-priv-key" info:"service account private key"`
	ServicePublicKey       string        `flag:"service-pub-key" info:"service account public key"`
	ServiceKeySigAlgo      string        `flag:"service-sig-algo" info:"service account key signature algorithm"`
	ServiceKeyHashAlgo     string        `flag:"service-hash-algo" info:"service account key hash algorithm"`
	Init                   bool          `default:"false" flag:"init" info:"whether to initialize a new account profile"`
	GRPCDebug              bool          `default:"false" flag:"grpc-debug" info:"enable gRPC server reflection for debugging with grpc_cli"`
	Persist                bool          `default:"false" flag:"persist" info:"enable persistent storage"`
	DBPath                 string        `default:"./flowdb" flag:"dbpath" info:"path to database directory"`
	SimpleAddresses        bool          `default:"false" flag:"simple-addresses" info:"use sequential addresses starting with 0x01"`
	TokenSupply            string        `default:"100000000000.0" flag:"token-supply" info:"initial FLOW token supply"`
	TransactionExpiry      int           `default:"10" flag:"transaction-expiry" info:"transaction expiry, measured in blocks"`
	TransactionMaxGasLimit int           `default:"9999" flag:"transaction-max-gas-limit" info:"maximum gas limit for transactions"`
	ScriptGasLimit         int           `default:"100000" flag:"script-gas-limit" info:"gas limit for scripts"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL