cosmos-sdk/types/globals.go

20 lines
695 B
Go
Raw Normal View History

2018-05-09 18:39:14 -07:00
package types
// staking constants
2018-05-09 18:39:14 -07:00
const (
// default bond denomination
DefaultBondDenom = "stake"
// Delay, in blocks, between when validator updates are returned to the
// consensus-engine and when they are applied. For example, if
// ValidatorUpdateDelay is set to X, and if a validator set update is
// returned with new validators at the end of block 10, then the new
// validators are expected to sign blocks beginning at block 11+X.
//
// This value is constant as this should not change without a hard fork.
// For Tendermint this should be set to 1 block, for more details see:
// https://tendermint.com/docs/spec/abci/apps.html#endblock
ValidatorUpdateDelay int64 = 1
2018-05-09 18:39:14 -07:00
)