server

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: Apache-2.0 Imports: 73 Imported by: 0

Documentation

Index

Constants

View Source
const FlagNetworkSoftConfirmation = config.FlagPrefixEvnode + "network.soft-confirmation"

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(cmd *cobra.Command)

AddFlags adds Evolve specific configuration options to cobra Command.

func InitCmd

func InitCmd() *cobra.Command

InitCmd is meant to be used for initializing the Evolve config.

func InitRunE

func InitRunE(cmd *cobra.Command, args []string) error

InitRunE is the function that is called when the init command is run. It can be used standalone to wrap the SDK genesis init command. Or used via the InitCmd function to create a new command.

func MigrateToEvolveCmd

func MigrateToEvolveCmd() *cobra.Command

MigrateToEvolveCmd returns a command that migrates the data from the CometBFT chain to Evolve.

func NewRollbackCmd

func NewRollbackCmd(appCreator types.AppCreator, defaultNodeHome string) *cobra.Command

NewRollbackCmd creates a command to rollback CometBFT and multistore state by one height.

Types

type StartCommandHandler

type StartCommandHandler = func(
	svrCtx *server.Context,
	clientCtx client.Context,
	appCreator sdktypes.AppCreator,
	withCmt bool,
	opts server.StartCmdOptions,
) error

StartCommandHandler is the type that must implement nova to match Cosmos SDK start logic.

func StartHandler

func StartHandler() StartCommandHandler

StartHandler starts the Rollkit server with the provided application and options.

Jump to

Keyboard shortcuts

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