docs: improve readme on usage of ropsten's testnet datadir

This commit is contained in:
/raw PONG _GHMoaCXLT 2020-04-02 10:34:11 +02:00
parent 799499b4f6
commit a3da2d47dc
No known key found for this signature in database
GPG key ID: E79CDFA171DC2DF9

View file

@ -93,7 +93,7 @@ Specifying the `--goerli` flag, however, will reconfigure your `geth` instance a
test network, which uses different P2P bootnodes, different network IDs and genesis test network, which uses different P2P bootnodes, different network IDs and genesis
states. states.
* Instead of using the default data directory (`~/.ethereum` on Linux for example), `geth` * Instead of using the default data directory (`~/.ethereum` on Linux for example), `geth`
will nest itself one level deeper into a `goerli/` subfolder (`~/.ethereum/goerli` on will nest itself one level deeper into a `goerli` subfolder (`~/.ethereum/goerli` on
Linux). Note, on OSX and Linux this also means that attaching to a running testnet node Linux). Note, on OSX and Linux this also means that attaching to a running testnet node
requires the use of a custom endpoint since `geth attach` will try to attach to a requires the use of a custom endpoint since `geth attach` will try to attach to a
production node endpoint by default, e.g., production node endpoint by default, e.g.,
@ -117,8 +117,8 @@ $ geth --rinkeby console
### Full node on the Ropsten test network ### Full node on the Ropsten test network
In addition to Görli and Rinkeby, Go-Ethereum also supports the ancient Ropsten testnet. In addition to Görli and Rinkeby, Geth also supports the ancient Ropsten testnet. The
The Ropsten test network is based on the Ethash proof-of-work consensus algorithm. As such, Ropsten test network is based on the Ethash proof-of-work consensus algorithm. As such,
it has certain extra overhead and is more susceptible to reorganization attacks due to the it has certain extra overhead and is more susceptible to reorganization attacks due to the
network's low difficulty/security. network's low difficulty/security.
@ -126,6 +126,8 @@ network's low difficulty/security.
$ geth --ropsten console $ geth --ropsten console
``` ```
*Note: Older Geth configurations store the Ropsten database in the `testnet` subdirectory.*
### Configuration ### Configuration
As an alternative to passing the numerous flags to the `geth` binary, you can also pass a As an alternative to passing the numerous flags to the `geth` binary, you can also pass a