server

package
v8.0.0-...-bf5c84c Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 78 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockDBName = "blockstore"
	StateDBName = "state"
	AppDBName   = "application"
)

Variables

This section is empty.

Functions

func CometCommand

func CometCommand(appCreator types.AppCreator) *cobra.Command

func DataCmd

func DataCmd() *cobra.Command

func ReplayCmd

func ReplayCmd() *cobra.Command

ReplayCmd allows replaying of messages from the WAL.

func ReplayConsoleCmd

func ReplayConsoleCmd() *cobra.Command

ReplayConsoleCmd allows replaying of messages from the WAL in a console.

func StartCmd

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

func StartJSONRPC

func StartJSONRPC(
	ctx context.Context,
	srvCtx *server.Context,
	clientCtx client.Context,
	g *errgroup.Group,
	config *config.Config,
	indexer ethermint.EVMTxIndexer,
	app ethermintserver.AppWithPendingTxStream,
) (*http.Server, error)

StartJSONRPC starts the JSON-RPC server

func TendermintCommand

func TendermintCommand() *cobra.Command

func UnsafeResetNodeKeyCmd

func UnsafeResetNodeKeyCmd() *cobra.Command

func UnsafeRestPrivValidatorCmd

func UnsafeRestPrivValidatorCmd() *cobra.Command

UnsafeRestPrivValidatorCmd Reset validator node consensus private key file

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func NewDatabase

func NewDatabase(cfg *tmcfg.Config, modules ...string) (*Database, error)

func (*Database) AppDB

func (d *Database) AppDB() dbm.DB

func (*Database) AppStore

func (d *Database) AppStore() *rootmulti.Store

func (*Database) BlockStore

func (d *Database) BlockStore() *store.BlockStore

func (*Database) Close

func (d *Database) Close()

func (*Database) CurrentPlan

func (d *Database) CurrentPlan() (*upgradetypes.Plan, error)

func (*Database) GetBlockHeight

func (d *Database) GetBlockHeight() (int64, error)

func (*Database) GetChainId

func (d *Database) GetChainId() (string, error)

func (*Database) GetConsensusValidators

func (d *Database) GetConsensusValidators() ([]*cmtservice.Validator, error)

func (*Database) GetNodeInfo

func (d *Database) GetNodeInfo() (*cmtservice.VersionInfo, error)

func (*Database) GetState

func (d *Database) GetState() (sm.State, error)

func (*Database) GetSyncing

func (d *Database) GetSyncing() (bool, error)

func (*Database) StateStore

func (d *Database) StateStore() sm.Store

Directories

Path Synopsis
grpc
auth
Package auth is a reverse proxy.
Package auth is a reverse proxy.
gasprice/v1
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.
gasprice/v2
Package v2 is a reverse proxy.
Package v2 is a reverse proxy.

Jump to

Keyboard shortcuts

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