Merge pull request #19983 from karalabe/private-chain-config

README: update private network fork config fields
This commit is contained in:
Péter Szilágyi 2019-08-19 14:08:34 +03:00 committed by GitHub
commit 9dfca5df4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -98,7 +98,7 @@ Specifying the `--testnet` flag, however, will reconfigure your `geth` instance
this. this.
* Instead of connecting the main Ethereum network, the client will connect to the test * Instead of connecting the main Ethereum network, the client will connect to the test
network, which uses different P2P bootnodes, different network IDs and genesis states. network, which uses different P2P bootnodes, different network IDs and genesis states.
*Note: Although there are some internal protective measures to prevent transactions from *Note: Although there are some internal protective measures to prevent transactions from
crossing over between the main network and test network, you should make sure to always crossing over between the main network and test network, you should make sure to always
use separate accounts for play-money and real-money. Unless you manually move use separate accounts for play-money and real-money. Unless you manually move
@ -212,8 +212,12 @@ aware of and agree upon. This consists of a small JSON file (e.g. call it `genes
"config": { "config": {
"chainId": 0, "chainId": 0,
"homesteadBlock": 0, "homesteadBlock": 0,
"eip150Block": 0,
"eip155Block": 0, "eip155Block": 0,
"eip158Block": 0 "eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0
}, },
"alloc": {}, "alloc": {},
"coinbase": "0x0000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000",