mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-12 18:21:31 +00:00
@@ -47,11 +47,30 @@ definition](https://github.com/tendermint/tendermint/blob/master/types/genesis.g
|
||||
- `chain_id`: ID of the blockchain. **This must be unique for
|
||||
every blockchain.** If your testnet blockchains do not have unique
|
||||
chain IDs, you will have a bad time. The ChainID must be less than 50 symbols.
|
||||
- `consensus_params`
|
||||
- `consensus_params` [spec](https://github.com/tendermint/spec/blob/master/spec/core/state.md#consensusparams)
|
||||
- `block`
|
||||
- `max_bytes`: Max block size, in bytes.
|
||||
- `max_gas`: Max gas per block.
|
||||
- `time_iota_ms`: Minimum time increment between consecutive blocks (in
|
||||
milliseconds). If the block header timestamp is ahead of the system clock,
|
||||
decrease this value.
|
||||
- `evidence`
|
||||
- `max_age_num_blocks`: Max age of evidence, in blocks. The basic formula
|
||||
for calculating this is: MaxAgeDuration / {average block time}.
|
||||
- `max_age_duration`: Max age of evidence, in time. It should correspond
|
||||
with an app's "unbonding period" or other similar mechanism for handling
|
||||
[Nothing-At-Stake
|
||||
attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
|
||||
- `max_num`: This sets the maximum number of evidence that can be committed
|
||||
in a single block. and should fall comfortably under the max block
|
||||
bytes when we consider the size of each evidence.
|
||||
- `proof_trial_period`: Proof trial period dictates the time given for
|
||||
nodes accused of amnesia evidence, incorrectly voting twice in two
|
||||
different rounds to respond with their respective proofs.
|
||||
- `validator`
|
||||
- `pub_key_types`: Public key types validators can use.
|
||||
- `version`
|
||||
- `app_version`: ABCI application version.
|
||||
- `validators`: List of initial validators. Note this may be overridden entirely by the
|
||||
application, and may be left empty to make explicit that the
|
||||
application will initialize the validator set with ResponseInitChain.
|
||||
|
||||
Reference in New Issue
Block a user