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>
pull/22234/head
ligi 4 years ago committed by GitHub
parent ea43f7df63
commit 21ee44bbaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      _config.yml
  2. 11
      _layouts/redirect.html
  3. 2
      docs/_dapp/mobile-accounts.md
  4. 2
      docs/_dapp/native-accounts.md
  5. 5
      docs/_getting-started/dev-mode.md
  6. 2
      docs/_install-and-build/Installing-Geth.md
  7. 2
      docs/_interface/FAQ.md
  8. 6
      docs/_interface/mining.md
  9. 2
      docs/_interface/peer-to-peer.md
  10. 2
      docs/_legacy/Contract-Tutorial.md
  11. 4
      docs/_rpc/ns-admin.md
  12. 2
      docs/_rpc/ns-debug.md
  13. 2
      index.html
  14. 7
      redirects/dev-mode.md
  15. 7
      redirects/private-net.md

@ -28,6 +28,7 @@ collections:
getting-started: getting-started:
output: true output: true
caption: Getting Started caption: Getting Started
permalink: docs/:collection/:slug
sidebar_index: 1 sidebar_index: 1
frontpage: _getting-started/index.md frontpage: _getting-started/index.md
install-and-build: install-and-build:

@ -0,0 +1,11 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0;url={{page.new_url}}" />
<link rel="canonical" href="{{page.new_url}}" />
</head>
<body>
<h1>This page has been moved to <a href="{{page.new_url}}">{{page.new_url}}</a>.</h1>
</body>
</html>

@ -48,7 +48,7 @@ Cryptography](sec2), implemented by the [`libsecp256k`](secp256k1) library and w
[`github.com/ethereum/go-ethereum/accounts`](accounts-go). Accounts are stored on disk in [`github.com/ethereum/go-ethereum/accounts`](accounts-go). Accounts are stored on disk in
the [Web3 Secret Storage](secstore) format.* the [Web3 Secret Storage](secstore) format.*
[sec2]: http://www.secg.org/sec2-v2.pdf [sec2]: https://www.secg.org/sec2-v2.pdf
[accounts-go]: https://godoc.org/github.com/ethereum/go-ethereum/accounts [accounts-go]: https://godoc.org/github.com/ethereum/go-ethereum/accounts
[secp256k1]: https://github.com/bitcoin-core/secp256k1 [secp256k1]: https://github.com/bitcoin-core/secp256k1
[secstore]: https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition [secstore]: https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition

@ -45,7 +45,7 @@ environments.
*For those interested in the cryptographic and/or implementation details, the key-store *For those interested in the cryptographic and/or implementation details, the key-store
uses the `secp256k1` elliptic curve as defined in the [Standards for Efficient uses the `secp256k1` elliptic curve as defined in the [Standards for Efficient
Cryptography](http://www.secg.org/sec2-v2.pdf), implemented by the [`libsecp256k`](https://github.com/bitcoin-core/secp256k1) library and wrapped by Cryptography](https://www.secg.org/sec2-v2.pdf), implemented by the [`libsecp256k`](https://github.com/bitcoin-core/secp256k1) library and wrapped by
[`github.com/ethereum/go-ethereum/accounts`](https://godoc.org/github.com/ethereum/go-ethereum/accounts). Accounts are stored on disk in [`github.com/ethereum/go-ethereum/accounts`](https://godoc.org/github.com/ethereum/go-ethereum/accounts). Accounts are stored on disk in
the [Web3 Secret Storage](https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition) format.* the [Web3 Secret Storage](https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition) format.*

@ -58,4 +58,7 @@ If you want to test your dapps with a realistic block time use the `--dev.period
## Connect Remix to Geth ## Connect Remix to Geth
With geth now running, open <https://remix.ethereum.org>. Compile the contract as normal, but when you deploy and run a contract, select _Web3 Provider_ from the _Environment_ dropdown, and add "http://127.0.0.1:8545" to the popup box. Click _Deploy_, and interact with the contract. You should see contract creation, mining, and transaction activity. With geth now running, open <https://remix.ethereum.org>. Compile the contract as normal,
but when you deploy and run a contract, select _Web3 Provider_ from the _Environment_
dropdown, and add "http://127.0.0.1:8545" to the popup box. Click _Deploy_, and interact
with the contract. You should see contract creation, mining, and transaction activity.

@ -19,7 +19,7 @@ Geth will automatically use the data of your old node and sync the latest blocks
### Install on macOS via Homebrew ### Install on macOS via Homebrew
The easiest way to install go-ethereum is to use our The easiest way to install go-ethereum is to use our
Homebrew tap. If you don't have Homebrew, [install it first](http://brew.sh). Homebrew tap. If you don't have Homebrew, [install it first](https://brew.sh).
Run the following commands to add the tap and install `geth`: Run the following commands to add the tap and install `geth`:

@ -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. **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 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 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 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 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 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 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 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 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 -G -P http://127.0.0.1:8545
`ethminer` communicates with geth on port 8545 (the default RPC port in geth). You can `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 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 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 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 You can also add static nodes at runtime via the js console using
[`admin.addPeer()`](../interface/management-apis#admin_addpeer): `admin.addPeer()`:
```js ```js
admin.addPeer("enode://f4642fa65af50cfdea8fa7414a5def7bb7991478b768e296f5e4a54e8b995de102e0ceae2e826f293c481b5325f89be6d207b003382e18a8ecba66fbaf6416c0@33.4.2.1:30303") admin.addPeer("enode://f4642fa65af50cfdea8fa7414a5def7bb7991478b768e296f5e4a54e8b995de102e0ceae2e826f293c481b5325f89be6d207b003382e18a8ecba66fbaf6416c0@33.4.2.1:30303")

@ -82,7 +82,7 @@ Take note of the path given by the last line, you'll need it soon.
#### Install SolC on Mac OSX #### Install SolC on Mac OSX
You need [brew](http://brew.sh) in order to install on your mac You need [brew](https://brew.sh) in order to install on your mac
brew tap ethereum/ethereum brew tap ethereum/ethereum
brew install solidity brew install solidity

@ -143,7 +143,7 @@ protocols (e.g. `eth`, `les`, `shh`, `bzz`).
### admin_startRPC ### admin_startRPC
The `startRPC` administrative method starts an HTTP based [JSON RPC](http://www.jsonrpc.org/specification) The `startRPC` administrative method starts an HTTP based [JSON RPC](https://www.jsonrpc.org/specification)
API webserver to handle client requests. All the parameters are optional: API webserver to handle client requests. All the parameters are optional:
* `host`: network interface to open the listener socket on (defaults to `"localhost"`) * `host`: network interface to open the listener socket on (defaults to `"localhost"`)
@ -168,7 +168,7 @@ true
### admin_startWS ### admin_startWS
The `startWS` administrative method starts an WebSocket based [JSON RPC](http://www.jsonrpc.org/specification) The `startWS` administrative method starts an WebSocket based [JSON RPC](https://www.jsonrpc.org/specification)
API webserver to handle client requests. All the parameters are optional: API webserver to handle client requests. All the parameters are optional:
* `host`: network interface to open the listener socket on (defaults to `"localhost"`) * `host`: network interface to open the listener socket on (defaults to `"localhost"`)

@ -156,7 +156,7 @@ destructive action and may severely damage your chain. Use with *extreme* cautio
| RPC | `{"method": "debug_setHead", "params": [number]}` | | RPC | `{"method": "debug_setHead", "params": [number]}` |
References: References:
[Ethash](https://github.com/ethereum/wiki/wiki/Mining#the-algorithm) [Ethash](https://eth.wiki/en/concepts/ethash/ethash)
### debug_setBlockProfileRate ### debug_setBlockProfileRate

@ -10,7 +10,7 @@ css:
<h2>Official Go implementation of the Ethereum protocol</h2> <h2>Official Go implementation of the Ethereum protocol</h2>
<br/> <br/>
<a href="https://github.com/ethereum/go-ethereum" target="_blank" class="btn btn-success" style="margin: 4px;"><i class="fa fa-github" aria-hidden="true"></i> View on GitHub</a> <a href="https://github.com/ethereum/go-ethereum" target="_blank" class="btn btn-success" style="margin: 4px;"><i class="fa fa-github" aria-hidden="true"></i> View on GitHub</a>
<a href="https://discord.gg/nthXNEv" target="_blank" class="btn btn-success" style="margin: 4px;"><i class="fa fa-user-circle" aria-hidden="true"></i> Chat on Discord</a> <a href="https://discord.com/invite/nthXNEv" target="_blank" class="btn btn-success" style="margin: 4px;"><i class="fa fa-user-circle" aria-hidden="true"></i> Chat on Discord</a>
</div> </div>
</div> </div>

@ -0,0 +1,7 @@
---
# This page exists because we used to have the 'getting started' pages
# under /getting-started/... instead of /docs/getting-started/...
permalink: /getting-started/dev-mode
new_url: /docs/getting-started/dev-mode
layout: redirect
---

@ -0,0 +1,7 @@
---
# This page exists because we used to have the 'getting started' pages
# under /getting-started/... instead of /docs/getting-started/...
permalink: /getting-started/private-net
new_url: /docs/getting-started/private-net
layout: redirect
---
Loading…
Cancel
Save