config

package
v2.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// if not skipping upgrade, how many blocks we allow for fork to run pre upgrade state creation
	ForkHeightPreUpgradeOffset int64 = 60
	// estimated number of blocks it takes to submit for a proposal
	PropSubmitBlocks float32 = 5
	// estimated number of blocks it takes to deposit for a proposal
	PropDepositBlocks float32 = 5
	// number of blocks it takes to vote for a single validator to vote for a proposal
	PropVoteBlocks float32 = 1.2
	// number of blocks used as a calculation buffer
	PropBufferBlocks float32 = 6
	// number of blocks used as a calculation buffer after an upgrade
	UpgradeBufferBlocks int64 = 30
	// max retries for json unmarshalling
	MaxRetries = 60
)

Variables

View Source
var (
	MinDepositValue   = govv1.DefaultMinDepositTokens
	InitialMinDeposit = MinDepositValue.Int64() / 4
	BaseBalance       = sdk.NewCoin(appparams.MicroC4eUnit, math.NewInt(10000000000))
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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