Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
BlockVersion protocol.Version
BlockIntervalInSecond int
MaxTransactionsPerBlock int
CommitteeSize int
BlockReward amount.Amount
TransactionToLiveInterval uint32
BondInterval uint32
UnbondInterval uint32
SortitionInterval uint32
MinimumStake amount.Amount
MaximumStake amount.Amount
FoundationReward amount.Amount
FoundationAddress []crypto.Address
}
Params is the parameters of the Aerium protocol. These parameters are fixed among all the nodes in the network. TODO: Save them in DB and load them on startng the node.
func FromGenesis ¶
func (*Params) BlockInterval ¶
Click to show internal directories.
Click to hide internal directories.