Documentation ¶
Index ¶
Constants ¶
View Source
const EnvPrefix = "FLOW"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Port int `default:"3569" flag:"port,p" info:"port to run RPC server"` RestPort int `default:"8888" flag:"rest-port" info:"port to run the REST API"` AdminPort int `default:"8080" flag:"admin-port" info:"port to run the admin API"` Verbose bool `default:"false" flag:"verbose,v" info:"enable verbose logging"` LogFormat string `default:"text" flag:"log-format" info:"logging output format. Valid values (text, JSON)"` 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 `default:"ECDSA_P256" flag:"service-sig-algo" info:"service account key signature algorithm"` ServiceKeyHashAlgo string `default:"SHA3_256" 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"` RESTDebug bool `default:"false" flag:"rest-debug" info:"enable REST API debugging output"` 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:"1000000000.0" flag:"token-supply" info:"initial FLOW token supply"` TransactionExpiry int `default:"10" flag:"transaction-expiry" info:"transaction expiry, measured in blocks"` StorageLimitEnabled bool `default:"true" flag:"storage-limit" info:"enable account storage limit"` StorageMBPerFLOW string `` /* 175-byte string literal not displayed */ MinimumAccountBalance string `` /* 194-byte string literal not displayed */ TransactionFeesEnabled bool `default:"false" flag:"transaction-fees" info:"enable transaction fees"` 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"` WithContracts bool `default:"false" flag:"contracts" info:"deploy common contracts when emulator starts"` }
Click to show internal directories.
Click to hide internal directories.