upgrade

package
v4.0.1-0...-868bbd5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

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

Module represents the x/upgrade module

func NewModule

func NewModule(db *database.Db, stakingModule StakingModule) *Module

NewModule builds a new Module instance

func (*Module) HandleBlock

HandleBlock implements modules.Module

func (*Module) Name

func (m *Module) Name() string

Name implements modules.Module

type StakingModule

type StakingModule interface {
	RefreshAllValidatorInfos(height int64) error
}

Jump to

Keyboard shortcuts

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