server

package
v1.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 96 Imported by: 0

Documentation

Index

Constants

View Source
const FlagAttesterMode = config.FlagPrefixEvnode + "attester-mode"

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 NewAttesterCmd

func NewAttesterCmd() *cobra.Command

NewAttesterCmd creates a command to run the attester client

func NewRollbackCmd

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

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

func PostTxCmd

func PostTxCmd() *cobra.Command

PostTxCmd returns a command to post a signed transaction to a Celestia namespace

Types

type AttesterConfig

type AttesterConfig struct {
	ChainID      string
	Node         string
	Home         string
	Verbose      bool
	Mnemonic     string
	PrivKeyArmor string
}

AttesterConfig holds all configuration parameters for the attester

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