Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultName Default node name DefaultName = string("Gossamer") // DefaultID Default chain ID DefaultID = string("gssmr") // DefaultConfig Default toml configuration path DefaultConfig = string("./chain/gssmr/config.toml") // DefaultBasePath Default node base directory path DefaultBasePath = string("~/.gossamer/gssmr") // DefaultLvl is the default log level DefaultLvl = log.LvlInfo // DefaultGenesisRaw Default genesis configuration path DefaultGenesisRaw = string("./chain/gssmr/genesis-raw.json") // DefaultKey Default account key DefaultKey = string("") // DefaultUnlock Default account unlock DefaultUnlock = string("") // DefaultAuthority is true if the node is a block producer and a grandpa authority DefaultAuthority = true // DefaultRoles Default node roles DefaultRoles = byte(4) // authority node (see Table D.2) // DefaultBabeAuthority is true if the node is a block producer (overwrites previous settings) DefaultBabeAuthority = true // DefaultGrandpaAuthority is true if the node is a grandpa authority (overwrites previous settings) DefaultGrandpaAuthority = true // DefaultWasmInterpreter is the name of the wasm interpreter to use by default DefaultWasmInterpreter = wasmer.Name // DefaultNetworkPort network port DefaultNetworkPort = uint32(7001) // DefaultNetworkBootnodes network bootnodes DefaultNetworkBootnodes = []string(nil) // DefaultNoBootstrap disables bootstrap DefaultNoBootstrap = false // DefaultNoMDNS disables mDNS discovery DefaultNoMDNS = false // DefaultRPCHTTPHost rpc host DefaultRPCHTTPHost = string("localhost") // DefaultRPCHTTPPort rpc port DefaultRPCHTTPPort = uint32(8545) // DefaultRPCModules rpc modules DefaultRPCModules = []string{"system", "author", "chain", "state", "rpc", "grandpa"} // DefaultRPCWSPort rpc websocket port DefaultRPCWSPort = uint32(8546) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.