docs/tm-core/using-tm: fix indentation for genesis.validators
This commit is contained in:
parent
4416c9e4bc
commit
61914cf48e
|
@ -42,12 +42,14 @@ definition](https://github.com/tendermint/tendermint/blob/master/types/genesis.g
|
||||||
- `genesis_time`: Official time of blockchain start.
|
- `genesis_time`: Official time of blockchain start.
|
||||||
- `chain_id`: ID of the blockchain. This must be unique for
|
- `chain_id`: ID of the blockchain. This must be unique for
|
||||||
every blockchain. If your testnet blockchains do not have unique
|
every blockchain. If your testnet blockchains do not have unique
|
||||||
chain IDs, you will have a bad time.
|
chain IDs, you will have a bad time. The ChainID must be less than 50 bytes.
|
||||||
- `validators`:
|
- `validators`: List of initial validators. Note this may be overridden entirely by the
|
||||||
- `pub_key`: The first element specifies the `pub_key` type. 1
|
application, and may be left empty to make explicit that the
|
||||||
|
application will initialize the validator set with ResponseInitChain.
|
||||||
|
- `pub_key`: The first element specifies the `pub_key` type. 1
|
||||||
== Ed25519. The second element are the pubkey bytes.
|
== Ed25519. The second element are the pubkey bytes.
|
||||||
- `power`: The validator's voting power.
|
- `power`: The validator's voting power.
|
||||||
- `name`: Name of the validator (optional).
|
- `name`: Name of the validator (optional).
|
||||||
- `app_hash`: The expected application hash (as returned by the
|
- `app_hash`: The expected application hash (as returned by the
|
||||||
`ResponseInfo` ABCI message) upon genesis. If the app's hash does
|
`ResponseInfo` ABCI message) upon genesis. If the app's hash does
|
||||||
not match, Tendermint will panic.
|
not match, Tendermint will panic.
|
||||||
|
@ -93,8 +95,7 @@ definition](https://github.com/tendermint/tendermint/blob/master/types/genesis.g
|
||||||
"power": "1",
|
"power": "1",
|
||||||
"name": "node3"
|
"name": "node3"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"app_hash": ""
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue