docs: fix some broken links (#22167)
This fixes broken links that where reported via: https://validator.w3.org/checklink?uri=http%3A%2F%2Fgeth.ethereum.org%2Fdocs%2F&hide_type=all&recursive=on&depth=10&check=Check It also moves the 'getting started' pages from /getting-started/... to /docs/getting-started/... In order to not break any old links, redirects from the old location have been added. Co-authored-by: Felix Lange <fjl@twurst.com>
This commit is contained in:
@ -6,7 +6,7 @@ sort_key: C
|
||||
|
||||
**Q.** I noticed my peercount slowly decrease, and now it is at 0. Restarting doesn't get any peers.
|
||||
|
||||
**A.** Check and sync your clock with ntp. [Example](http://askubuntu.com/questions/254826/how-to-force-a-clock-update-using-ntp) `sudo ntpdate -s time.nist.gov`
|
||||
**A.** Check and sync your clock with ntp. [Example](https://askubuntu.com/questions/254826/how-to-force-a-clock-update-using-ntp) `sudo ntpdate -s time.nist.gov`
|
||||
|
||||
---
|
||||
|
||||
|
@ -4,7 +4,7 @@ sort_key: B
|
||||
---
|
||||
|
||||
This document explains how to set up geth for mining. The Ethereum wiki also has a [page
|
||||
about mining](eth-wiki-mining), be sure to check that one as well.
|
||||
about mining](https://eth.wiki/en/fundamentals/mining), be sure to check that one as well.
|
||||
|
||||
Mining is the process through which new blocks are created. Geth actually creates new
|
||||
blocks all the time, but these blocks need to be secured through proof-of-work so they
|
||||
@ -13,7 +13,7 @@ will be accepted by other nodes. Mining is all about creating these proof-of-wor
|
||||
The proof-of-work computation can be performed in multiple ways. Geth includes a CPU
|
||||
miner, which does mining within the geth process. We discourage using the CPU miner with
|
||||
the Ethereum mainnet. If you want to mine real ether, use GPU mining. Your best option for
|
||||
doing that is the [ethminer](ethminer) software.
|
||||
doing that is the [ethminer](https://github.com/ethereum-mining/ethminer) software.
|
||||
|
||||
Always ensure your blockchain is fully synchronised with the chain before starting to
|
||||
mine, otherwise you will not be mining on the correct chain and your block rewards will
|
||||
@ -52,7 +52,7 @@ Now we're ready to start mining. In a new terminal session, run ethminer and con
|
||||
ethminer -G -P http://127.0.0.1:8545
|
||||
|
||||
`ethminer` communicates with geth on port 8545 (the default RPC port in geth). You can
|
||||
change this by giving the [`--rpcport` option](../rpc/index) to `geth`. Ethminer will find
|
||||
change this by giving the [`--rpcport` option](../rpc/server) to `geth`. Ethminer will find
|
||||
get on any port. You also need to set the port on `ethminer` with `-P
|
||||
http://127.0.0.1:3301`. Setting up custom ports is necessary if you want several instances
|
||||
mining on the same computer. If you are testing on a private cluster, we recommend you use
|
||||
|
@ -147,7 +147,7 @@ static nodes by putting something like the following into
|
||||
```
|
||||
|
||||
You can also add static nodes at runtime via the js console using
|
||||
[`admin.addPeer()`](../interface/management-apis#admin_addpeer):
|
||||
`admin.addPeer()`:
|
||||
|
||||
```js
|
||||
admin.addPeer("enode://f4642fa65af50cfdea8fa7414a5def7bb7991478b768e296f5e4a54e8b995de102e0ceae2e826f293c481b5325f89be6d207b003382e18a8ecba66fbaf6416c0@33.4.2.1:30303")
|
||||
|
Reference in New Issue
Block a user