Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { BlockVersion uint8 `cbor:"1,keyasint" json:"block_version"` BlockIntervalInSecond int `cbor:"2,keyasint" json:"block_interval_in_second"` CommitteeSize int `cbor:"3,keyasint" json:"committee_size"` BlockReward int64 `cbor:"4,keyasint" json:"block_reward"` TransactionToLiveInterval uint32 `cbor:"5,keyasint" json:"transaction_to_live_interval"` BondInterval uint32 `cbor:"6,keyasint" json:"bond_interval"` UnbondInterval uint32 `cbor:"7,keyasint" json:"unbond_interval"` SortitionInterval uint32 `cbor:"8,keyasint" json:"sortition_interval"` FeeFraction float64 `cbor:"9,keyasint" json:"fee_fraction"` MinimumFee int64 `cbor:"10,keyasint" json:"minimum_fee"` MaximumFee int64 `cbor:"11,keyasint" json:"maximum_fee"` MinimumStake int64 `cobr:"12,keyasint" json:"minimum_stake"` MaximumStake int64 `cbor:"13,keyasint" json:"maximum_stake"` }
func DefaultParams ¶
func DefaultParams() *Params
func (*Params) BlockInterval ¶ added in v0.15.0
Click to show internal directories.
Click to hide internal directories.