Browse Source

docs/tm-core/using-tm: fix indentation for genesis.validators

pull/2340/head
Ethan Buchman 6 years ago
parent
commit
61914cf48e
1 changed files with 8 additions and 7 deletions
  1. +8
    -7
      docs/tendermint-core/using-tendermint.md

+ 8
- 7
docs/tendermint-core/using-tendermint.md View File

@ -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.
- `validators`:
- `pub_key`: The first element specifies the `pub_key` type. 1
chain IDs, you will have a bad time. The ChainID must be less than 50 bytes.
- `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.
- `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.
- `name`: Name of the validator (optional).
- `power`: The validator's voting power.
- `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…
Cancel
Save