keeper

package
v0.54.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 929

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StoreKey = "Consensus"

Functions

This section is empty.

Types

type Keeper

type Keeper struct {
	ParamsStore collections.Item[cmtproto.ConsensusParams]
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec, storeService storetypes.KVStoreService, authority string, em event.Service) Keeper

func (*Keeper) GetAuthority

func (k *Keeper) GetAuthority() string

func (Keeper) Params added in v0.50.0

Params queries params of consensus module

func (Keeper) UpdateParams added in v0.50.0

UpdateParams updates consensus parameters. Note that the new authority value takes effect at the start of the next block, when BeginBlock loads fresh consensus params from the store. Within the same block as this update, ValidateAuthority still checks against the old authority.

Jump to

Keyboard shortcuts

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