Documentation ¶
Index ¶
- Constants
- func CometCommand(appCreator types.AppCreator) *cobra.Command
- func DataCmd() *cobra.Command
- func ReplayCmd() *cobra.Command
- func ReplayConsoleCmd() *cobra.Command
- func StartCmd(appCreator types.AppCreator, defaultNodeHome string) *cobra.Command
- func StartJSONRPC(ctx context.Context, srvCtx *server.Context, clientCtx client.Context, ...) (*http.Server, error)
- func TendermintCommand() *cobra.Command
- func UnsafeResetNodeKeyCmd() *cobra.Command
- func UnsafeRestPrivValidatorCmd() *cobra.Command
- type Database
- func (d *Database) AppDB() dbm.DB
- func (d *Database) AppStore() *rootmulti.Store
- func (d *Database) BlockStore() *store.BlockStore
- func (d *Database) Close()
- func (d *Database) CurrentPlan() (*upgradetypes.Plan, error)
- func (d *Database) GetBlockHeight() (int64, error)
- func (d *Database) GetChainId() (string, error)
- func (d *Database) GetConsensusValidators() ([]*cmtservice.Validator, error)
- func (d *Database) GetNodeInfo() (*cmtservice.VersionInfo, error)
- func (d *Database) GetState() (sm.State, error)
- func (d *Database) GetSyncing() (bool, error)
- func (d *Database) StateStore() sm.Store
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 ReplayConsoleCmd ¶
ReplayConsoleCmd allows replaying of messages from the WAL in a console.
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 UnsafeResetNodeKeyCmd ¶
func UnsafeRestPrivValidatorCmd ¶
UnsafeRestPrivValidatorCmd Reset validator node consensus private key file
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) BlockStore ¶
func (d *Database) BlockStore() *store.BlockStore
func (*Database) CurrentPlan ¶
func (d *Database) CurrentPlan() (*upgradetypes.Plan, error)
func (*Database) GetBlockHeight ¶
func (*Database) GetChainId ¶
func (*Database) GetConsensusValidators ¶
func (d *Database) GetConsensusValidators() ([]*cmtservice.Validator, error)
func (*Database) GetNodeInfo ¶
func (d *Database) GetNodeInfo() (*cmtservice.VersionInfo, error)
func (*Database) GetSyncing ¶
func (*Database) StateStore ¶
Source Files ¶
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. |
Click to show internal directories.
Click to hide internal directories.