server

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const FlagNetworkSoftConfirmation = "rollkit.network.soft-confirmation"

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(cmd *cobra.Command)

AddFlags adds Rollkit specific configuration options to cobra Command.

func InitCmd added in v0.3.0

func InitCmd() *cobra.Command

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

func InitRunE added in v0.3.0

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 MigrateToRollkitCmd added in v0.3.0

func MigrateToRollkitCmd() *cobra.Command

MigrateToRollkitCmd returns a command that migrates the data from the CometBFT chain to Rollkit.

func NewLogAdapter added in v0.3.0

func NewLogAdapter(logger log.Logger) rlog.EventLogger

NewLogAdapter constructor

Types

type StartCommandHandler added in v0.3.0

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