package
0.0.0-20220620005849-a315113d9162
Repository: https://github.com/mycodeku/transtionhelper.git
Documentation: pkg.go.dev

# README

Staking

  • Staking - Proof-of-Stake layer for public blockchains.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package types is a reverse proxy.

# Functions

BeginBlocker will persist the current header and validator set as a historical entry and prune the oldest entry based on the HistoricalEntries parameter.
Called every block, update validator set.
ExportGenesis returns a GenesisState for a given context and keeper.
InitGenesis sets the pool and parameters for the provided keeper.
NewAppModule creates a new AppModule object.
ValidateGenesis validates the provided staking genesis state to ensure the expected invariants holds.
WriteValidators returns a slice of bonded genesis validators.

# Structs

AppModule implements an application module for the staking module.
AppModuleBasic defines the basic application module used by the staking module.