Problem: Simple network guide outdated, some new parameters required

This commit is contained in:
Ahmed Muawia Khan 2018-08-01 11:15:27 +02:00
parent 6693a8933a
commit 453261c3b1

View File

@ -160,41 +160,63 @@ At this point the Coordinator should have received the data from all the Members
```json ```json
{ {
"genesis_time": "0001-01-01T00:00:00Z", "genesis_time":"0001-01-01T00:00:00Z",
"chain_id": "test-chain-la6HSr", "chain_id":"test-chain-la6HSr",
"validators": [ "consensus_params":{
{ "block_size_params":{
"pub_key": { "max_bytes":"22020096",
"type": "AC26791624DE60", "max_txs":"10000",
"value": "<Member 1 public key>" "max_gas":"-1"
}, },
"power": 10, "tx_size_params":{
"name": "<Member 1 name>" "max_bytes":"10240",
}, "max_gas":"-1"
{
"pub_key": {
"type": "AC26791624DE60",
"value": "<Member 2 public key>"
}, },
"power": 10, "block_gossip_params":{
"name": "<Member 2 name>" "block_part_size_bytes":"65536"
}, },
{ "evidence_params":{
"...": { }, "max_age":"100000"
}, }
{ },
"pub_key": { "validators":[
"type": "AC26791624DE60", {
"value": "<Member N public key>" "pub_key":{
}, "type":"AC26791624DE60",
"power": 10, "value":"<Member 1 public key>"
"name": "<Member N name>" },
} "power":10,
], "name":"<Member 1 name>"
"app_hash": "" },
{
"pub_key":{
"type":"AC26791624DE60",
"value":"<Member 2 public key>"
},
"power":10,
"name":"<Member 2 name>"
},
{
"...":{
},
},
{
"pub_key":{
"type":"AC26791624DE60",
"value":"<Member N public key>"
},
"power":10,
"name":"<Member N name>"
}
],
"app_hash":""
} }
``` ```
**Note:** `consensus_params` in the `genesis.json` are default values for Tendermint consensus.
The new `genesis.json` file contains the data that describes the Network. The key `name` is the Member's moniker; it can be any valid string, but put something human-readable like `"Alice's Node Shop"`. The new `genesis.json` file contains the data that describes the Network. The key `name` is the Member's moniker; it can be any valid string, but put something human-readable like `"Alice's Node Shop"`.
At this point, the Coordinator must share the new `genesis.json` file with all Members. At this point, the Coordinator must share the new `genesis.json` file with all Members.