Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultEngineEndpoint = "http://localhost:8551" // Default host endpoint for the Engine API
)
Variables ¶
View Source
var ( IliadConfig = Config{ HomeDir: DefaultHomeDir(), Network: "iliad", EngineEndpoint: DefaultEngineEndpoint, EngineJWTFile: DefaultJWTFile("iliad"), SnapshotInterval: defaultSnapshotInterval, SnapshotKeepRecent: defaultSnapshotKeepRecent, BackendType: string(defaultDBBackend), MinRetainBlocks: defaultMinRetainBlocks, PruningOption: pruningtypes.PruningOptionDefault, EVMBuildDelay: defaultEVMBuildDelay, EVMBuildOptimistic: false, APIEnable: false, APIAddress: "127.0.0.1:1317", EnableUnsafeCORS: false, Tracer: tracer.DefaultConfig(), RPCLaddr: "tcp://127.0.0.1:26657", ExternalAddress: "", Seeds: "", SeedMode: false, } LocalConfig = Config{ HomeDir: DefaultHomeDir(), Network: "local", EngineEndpoint: DefaultEngineEndpoint, EngineJWTFile: DefaultJWTFile("local"), SnapshotInterval: defaultSnapshotInterval, SnapshotKeepRecent: defaultSnapshotKeepRecent, BackendType: string(defaultDBBackend), MinRetainBlocks: defaultMinRetainBlocks, PruningOption: pruningtypes.PruningOptionDefault, EVMBuildDelay: defaultEVMBuildDelay, EVMBuildOptimistic: false, APIEnable: false, APIAddress: "127.0.0.1:1317", EnableUnsafeCORS: false, Tracer: tracer.DefaultConfig(), RPCLaddr: "tcp://127.0.0.1:26657", ExternalAddress: "", Seeds: "", SeedMode: false, } )
Functions ¶
func DefaultHomeDir ¶
func DefaultHomeDir() string
DefaultHomeDir returns the default consensus client home directory.
func DefaultJWTFile ¶
DefaultJWTFile returns the default engine-api jwt file assumed to be used by the execution client.
Types ¶
type Config ¶
type Config struct { HomeDir string Network netconf.ID EthKeyPassword string EngineJWTFile string EngineEndpoint string SnapshotInterval uint64 // See cosmossdk.io/store/snapshots/types/options.go SnapshotKeepRecent uint64 // See cosmossdk.io/store/snapshots/types/options.go BackendType string // See cosmos-db/db.go MinRetainBlocks uint64 PruningOption string // See cosmossdk.io/store/pruning/types/options.go EVMBuildDelay time.Duration EVMBuildOptimistic bool APIEnable bool APIAddress string EnableUnsafeCORS bool Tracer tracer.Config RPCLaddr string ExternalAddress string Seeds string SeedMode bool RemoveBlock bool // See cosmos-sdk/server/rollback.go }
Config defines all story specific config.
func (Config) AppStateDir ¶
func (Config) ConfigFile ¶
ConfigFile returns the default path to the toml story config file.
func (Config) SnapshotDir ¶
Click to show internal directories.
Click to hide internal directories.