Skip to content

Commit 40976ea

Browse files
bas-vkfjl
authored andcommitted
README: update attach instructions for testnet users (#14448)
1 parent d18b509 commit 40976ea

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,17 @@ here.
9090
Specifying the `--testnet` flag however will reconfigure your Geth instance a bit:
9191

9292
* Instead of using the default data directory (`~/.ethereum` on Linux for example), Geth will nest
93-
itself one level deeper into a `testnet` subfolder (`~/.ethereum/testnet` on Linux).
93+
itself one level deeper into a `testnet` subfolder (`~/.ethereum/testnet` on Linux). Note, on OSX
94+
and Linux this also means that attaching to a running testnet node requires the use of a custom
95+
endpoint since `geth attach` will try to attach to a production node endpoint by default. E.g.
96+
`geth attach <datadir>/testnet/geth.ipc`. Windows users are not affected by this.
9497
* Instead of connecting the main Ethereum network, the client will connect to the test network,
9598
which uses different P2P bootnodes, different network IDs and genesis states.
96-
99+
97100
*Note: Although there are some internal protective measures to prevent transactions from crossing
98-
over between the main network and test network (different starting nonces), you should make sure to
99-
always use separate accounts for play-money and real-money. Unless you manually move accounts, Geth
100-
will by default correctly separate the two networks and will not make any accounts available between
101-
them.*
101+
over between the main network and test network, you should make sure to always use separate accounts
102+
for play-money and real-money. Unless you manually move accounts, Geth will by default correctly
103+
separate the two networks and will not make any accounts available between them.*
102104

103105
#### Docker quick start
104106

0 commit comments

Comments
 (0)