mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Simple network guide outdated, some new parameters required
This commit is contained in:
parent
6693a8933a
commit
453261c3b1
@ -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"
|
||||||
|
},
|
||||||
|
"block_gossip_params":{
|
||||||
|
"block_part_size_bytes":"65536"
|
||||||
|
},
|
||||||
|
"evidence_params":{
|
||||||
|
"max_age":"100000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"validators":[
|
||||||
|
{
|
||||||
|
"pub_key":{
|
||||||
|
"type":"AC26791624DE60",
|
||||||
|
"value":"<Member 1 public key>"
|
||||||
|
},
|
||||||
|
"power":10,
|
||||||
|
"name":"<Member 1 name>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pub_key": {
|
"pub_key":{
|
||||||
"type": "AC26791624DE60",
|
"type":"AC26791624DE60",
|
||||||
"value": "<Member 2 public key>"
|
"value":"<Member 2 public key>"
|
||||||
},
|
},
|
||||||
"power": 10,
|
"power":10,
|
||||||
"name": "<Member 2 name>"
|
"name":"<Member 2 name>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"...": { },
|
"...":{
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pub_key": {
|
"pub_key":{
|
||||||
"type": "AC26791624DE60",
|
"type":"AC26791624DE60",
|
||||||
"value": "<Member N public key>"
|
"value":"<Member N public key>"
|
||||||
},
|
},
|
||||||
"power": 10,
|
"power":10,
|
||||||
"name": "<Member N name>"
|
"name":"<Member N name>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"app_hash": ""
|
"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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user