mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Fix broken links
This commit is contained in:
parent
a86c62d658
commit
7ad9fe3e27
59 changed files with 45 additions and 78 deletions
|
|
@ -1,3 +1,3 @@
|
|||
Install: /docs/Installing-Geth
|
||||
Install: /doc/Installing-Geth
|
||||
Downloads: /downloads
|
||||
Documentation: /docs
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
title: Other documents
|
||||
---
|
||||
- [Accounts key-storage specification](Accounts---key-storage-specification)
|
||||
- [Connecting to the network](Connecting-to-the-network)
|
||||
- [Creating your own Ethereum apps using Eth go](Creating-your-own-Ethereum-apps-using-Eth-go)
|
||||
- [Disclaimer](Disclaimer)
|
||||
- [Ethereum Specification](Ethereum-Specification)
|
||||
- [Ethereum on Android](Ethereum-on-Android)
|
||||
- [GAs Price Oracle](Gas-Price-Oracle)
|
||||
- [Go ethereum management API's](Go-ethereum-management-APIs)
|
||||
- [Installing Geth](Installing-Geth)
|
||||
- [(Japanese) Contracts and Transactions](Japanese-Contracts-and-Transactions)
|
||||
- [Mobile/Account management](Mobile/Account-management)
|
||||
- [Mobile/Introduction](Mobile/Introduction)
|
||||
- [Mobile Clients/Libraries and Inproc Ethereum Nodes](Mobile-Clients/Libraries-and-Inproc-Ethereum-Nodes)
|
||||
- [Native/Account management](Native/Account-management)
|
||||
- [Native/Introduction](Native/Introduction)
|
||||
- [Native DApps/Go bindings to Ethereum contracts](Native-DApps/Go-bindings-to-Ethereum-contracts)
|
||||
- [Provisional JS API](Provisional-JS-API)
|
||||
- [RPC PUB-SUB](RPC-PUB-SUB)
|
||||
- [Sending ethere](Sending-ether)
|
||||
- [Setting up Ethereum (Native)](Setting-up-Ethereum-Native)
|
||||
- [Swarm Channels, Namereg-resolution](/docs/Swarm-Channels,-Namereg-resolution-draft)
|
||||
- [Swarm Contract](/docs/Swarm-Contract)
|
||||
- [Swarm dev progress](/docs/swarm-dev-progress)
|
||||
- [Swarm distributed preimage archive](/docs/Swarm---distributed-preimage-archive)
|
||||
- [Swarm IPFS & SWARM](/docs/IPFS--SWARM)
|
||||
- [Swarm POC series](/docs/swarm---POC-series)
|
||||
- [Swarm roadmap](/docs/swarm-roadmap)
|
||||
- [Swarm TODO](/docs/Swarm---TODO)
|
||||
- [Tracing/Introduction](Tracing/Introduction)
|
||||
- [URL Scheme](URL-Scheme)
|
||||
|
|
@ -16,9 +16,9 @@ The default data directory locations are platform specific:
|
|||
|
||||
Accounts are stored in the `keystore` subdirectory. The contents of this directories should be transportable between nodes, platforms, implementations (C++, Go, Python).
|
||||
|
||||
To configure the location of the data directory, the `--datadir` parameter can be specified. See [CLI Options](Command-Line-Options) for more details.
|
||||
To configure the location of the data directory, the `--datadir` parameter can be specified. See [CLI Options](../interface/Command-Line-Options) for more details.
|
||||
|
||||
_**Note:** The [Ethash DAG](Mining#ethash-dag) is stored at `~/.ethash` (Mac/Linux) or `%APPDATA%\Ethash` (Windows) so that it can be reused by all clients. You can store this in a different location by using a symbolic link._
|
||||
_**Note:** The [Ethash DAG](../how-to/Mining#ethash-dag) is stored at `~/.ethash` (Mac/Linux) or `%APPDATA%\Ethash` (Windows) so that it can be reused by all clients. You can store this in a different location by using a symbolic link._
|
||||
|
||||
## Upgrades
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ the following into `<datadir>/geth/static-nodes.json`:
|
|||
]
|
||||
```
|
||||
|
||||
You can also add static nodes at runtime via the js console using [`admin.addPeer()`](JavaScript-Console#addpeer):
|
||||
You can also add static nodes at runtime via the js console using [`admin.addPeer()`](../interface/JavaScript-Console#addpeer):
|
||||
|
||||
```js
|
||||
admin.addPeer("enode://f4642fa65af50cfdea8fa7414a5def7bb7991478b768e296f5e4a54e8b995de102e0ceae2e826f293c481b5325f89be6d207b003382e18a8ecba66fbaf6416c0@33.4.2.1:30303")
|
||||
|
|
@ -15,7 +15,7 @@ Specifications of all ethereum technologies, languages, protocols, etc.
|
|||
|
||||
- [JavaScript API](https://github.com/ethereum/wiki/wiki/JavaScript-API#a)
|
||||
- [Generic JSON RPC](https://github.com/ethereum/wiki/JSON-RPC)
|
||||
- [JSRE admin API](JavaScript-Console#console-api)
|
||||
- [JSRE admin API](../interface/JavaScript-Console#console-api)
|
||||
- [RLP](https://github.com/ethereum/wiki/wiki/RLP)
|
||||
- [ÐΞVp2p Wire Protocol](https://github.com/ethereum/wiki/wiki/%C3%90%CE%9EVp2p-Wire-Protocol)
|
||||
- [Web3 Secret Storage](https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition)
|
||||
|
|
@ -13,7 +13,7 @@ Both types of accounts have an ether balance.
|
|||
|
||||
Transactions can be fired from from both types of accounts, though contracts only fire transactions in response to other transactions that they have received. Therefore, all action on ethereum block chain is set in motion by transactions fired from externally controlled accounts.
|
||||
|
||||
The simplest transactions are ether transfer transactions. But before we go into that you should read up on [accounts](Managing-your-accounts) and perhaps on [mining](Mining).
|
||||
The simplest transactions are ether transfer transactions. But before we go into that you should read up on [accounts](../how-to/Managing-your-accounts) and perhaps on [mining](../how-to/Mining).
|
||||
|
||||
## Ether transfer
|
||||
|
||||
|
|
@ -4,7 +4,7 @@ title: Setting up private network or local cluster
|
|||
This page describes how to set up a local cluster of nodes, advise how to make it private, and how to hook up your nodes on the eth-netstat network monitoring app.
|
||||
A fully controlled ethereum network is useful as a backend for network integration testing (core developers working on issues related to networking/blockchain synching/message propagation, etc or DAPP developers testing multi-block and multi-user scenarios).
|
||||
|
||||
We assume you are able to build `geth` following the [build instructions](Building-Ethereum)
|
||||
We assume you are able to build `geth` following the [build instructions](../install-and-build/Building-Ethereum)
|
||||
|
||||
## Setting up multiple nodes
|
||||
|
||||
|
|
@ -18,20 +18,20 @@ By installing and running `geth`, you can take part in the ethereum frontier liv
|
|||
Supported Platforms are Linux, Mac Os and Windows.
|
||||
|
||||
We support two types of installation: binary or scripted install for users.
|
||||
See [Install instructions](Building-Ethereum) for binary and scripted installs.
|
||||
See [Install instructions](../install-and-build/Building-Ethereum) for binary and scripted installs.
|
||||
|
||||
Developers and community enthusiast are advised to read the [Developers' Guide](Developers-Guide), which contains detailed instructions for manual build from source (on any platform) as well as detailed tips on testing, monitoring, contributing, debugging and submitting pull requests on github.
|
||||
Developers and community enthusiast are advised to read the [Developers' Guide](../install-and-build/Developers-Guide), which contains detailed instructions for manual build from source (on any platform) as well as detailed tips on testing, monitoring, contributing, debugging and submitting pull requests on github.
|
||||
|
||||
## Interfaces
|
||||
|
||||
* Javascript Console: `geth` can be launched with an interactive console, that provides a javascript runtime environment exposing a javascript API to interact with your node. [Javascript Console API](JavaScript-Console) includes the `web3` javascript Ðapp API as well as an additional admin API.
|
||||
* Javascript Console: `geth` can be launched with an interactive console, that provides a javascript runtime environment exposing a javascript API to interact with your node. [Javascript Console API](../interface/JavaScript-Console) includes the `web3` javascript Ðapp API as well as an additional admin API.
|
||||
* JSON-RPC server: `geth` can be launched with a json-rpc server that exposes the [JSON-RPC API](https://github.com/ethereum/wiki/JSON-RPC)
|
||||
* [Command line options](Command-Line-Options) documents command line parameters as well as subcommands.
|
||||
* [Command line options](../interface/Command-Line-Options) documents command line parameters as well as subcommands.
|
||||
|
||||
## Basic Use Case Documentation
|
||||
|
||||
* [Managing accounts](Managing-your-accounts)
|
||||
* [Mining](Mining)
|
||||
* [Managing accounts](../how-to/Managing-your-accounts)
|
||||
* [Mining](../how-to/Mining)
|
||||
|
||||
**Note** buying and selling ether through exchanges is not discussed here.
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ If you have the SolC Solidity Compiler installed, you need now reformat by remo
|
|||
|
||||
#### Linking your compiler in Geth
|
||||
|
||||
Now [go back to the console](/docs/geth) and type this command to install solC, replacing _path/to/solc_ to the path that you got on the last command you did:
|
||||
Now [go back to the console](../doc/geth) and type this command to install solC, replacing _path/to/solc_ to the path that you got on the last command you did:
|
||||
|
||||
admin.setSolc("path/to/solc")
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ or import). Without it you are not able to unlock your account.
|
|||
Note that exporting your key in unencrypted format is NOT supported.
|
||||
|
||||
Keys are stored under `<DATADIR>/keystore`. Make sure you backup your keys regularly! See
|
||||
[DATADIR backup & restore](Backup--restore)
|
||||
[DATADIR backup & restore](../doc/Backup--restore)
|
||||
for more information. If a custom datadir and keystore option are given the keystore
|
||||
option takes preference over the datadir option.
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ OPTIONS:
|
|||
--keystore Directory for the keystore (default = inside the datadir)
|
||||
```
|
||||
|
||||
Accounts can also be managed via the [Javascript Console](JavaScript-Console)
|
||||
Accounts can also be managed via the [Javascript Console](../interface/JavaScript-Console)
|
||||
|
||||
## Examples
|
||||
### Interactive use
|
||||
|
|
@ -335,7 +335,7 @@ That can then be executed with:
|
|||
|
||||
Since this function will disappear after restarting geth, it can be helpful to store
|
||||
commonly used functions to be recalled later. The
|
||||
[loadScript](JavaScript-Console#loadscript)
|
||||
[loadScript](../interface/JavaScript-Console#loadscript)
|
||||
function makes this very easy.
|
||||
|
||||
First, save the `checkAllBalances()` function definition to a file on your computer. For
|
||||
|
|
|
|||
|
|
@ -13,11 +13,11 @@ The C++ implementation of Ethereum also offers a GPU miner, both as part of Eth
|
|||
|
||||
_**NOTE:** Ensure your blockchain is fully synchronised with the main chain before starting to mine, otherwise you will not be mining on the main chain._
|
||||
|
||||
When you start up your ethereum node with `geth` it is not mining by default. To start it in mining mode, you use the `--mine` [command line option](Command-Line-Options). The `-minerthreads` parameter can be used to set the number parallel mining threads (defaulting to the total number of processor cores).
|
||||
When you start up your ethereum node with `geth` it is not mining by default. To start it in mining mode, you use the `--mine` [command line option](../interface/Command-Line-Options). The `-minerthreads` parameter can be used to set the number parallel mining threads (defaulting to the total number of processor cores).
|
||||
|
||||
`geth --mine --minerthreads=4`
|
||||
|
||||
You can also start and stop CPU mining at runtime using the [console](JavaScript-Console#adminminerstart). `miner.start` takes an optional parameter for the number of miner threads.
|
||||
You can also start and stop CPU mining at runtime using the [console](../interface/JavaScript-Console#adminminerstart). `miner.start` takes an optional parameter for the number of miner threads.
|
||||
|
||||
```
|
||||
> miner.start(8)
|
||||
|
|
@ -44,7 +44,7 @@ miner.setEtherbase(eth.accounts[2])
|
|||
|
||||
Note that your etherbase does not need to be an address of a local account, just an existing one.
|
||||
|
||||
There is an option [to add extra Data](JavaScript-Console#adminminersetextra) (32 bytes only) to your mined blocks. By convention this is interpreted as a unicode string, so you can set your short vanity tag.
|
||||
There is an option [to add extra Data](../interface/JavaScript-Console#adminminersetextra) (32 bytes only) to your mined blocks. By convention this is interpreted as a unicode string, so you can set your short vanity tag.
|
||||
|
||||
```
|
||||
miner.setExtra("ΞTHΞЯSPHΞЯΞ")
|
||||
|
|
@ -64,7 +64,7 @@ Header:
|
|||
|
||||
See also [this proposal](https://github.com/ethereum/wiki/wiki/Extra-Data)
|
||||
|
||||
You can check your hashrate with [miner.hashrate](JavaScript-Console#adminminerhashrate), the result is in H/s (Hash operations per second).
|
||||
You can check your hashrate with [miner.hashrate](../interface/JavaScript-Console#adminminerhashrate), the result is in H/s (Hash operations per second).
|
||||
|
||||
```
|
||||
> miner.hashrate
|
||||
|
|
|
|||
|
|
@ -6,15 +6,15 @@ title: Building Ethereum
|
|||
Follow the appropriate link below to find installation instructions for
|
||||
your platform.
|
||||
|
||||
* [Installation Instructions for Mac OS X](Installation-Instructions-for-Mac)
|
||||
* [Installation Instructions for Windows](Installation-instructions-for-Windows)
|
||||
* [Installation Instructions for Mac OS X](../doc/Installation-Instructions-for-Mac)
|
||||
* [Installation Instructions for Windows](../doc/Installation-instructions-for-Windows)
|
||||
* Installation Instructions for Linux/Unix
|
||||
* [Ubuntu](Installation-Instructions-for-Ubuntu)
|
||||
* [Arch](Installation-Instructions-for-Arch)
|
||||
* [FreeBSD](Installation-Instructions-for-FreeBSD)
|
||||
* [Ubuntu](../doc/Installation-Instructions-for-Ubuntu)
|
||||
* [Arch](../doc/Installation-Instructions-for-Arch)
|
||||
* [FreeBSD](../doc/Installation-Instructions-for-FreeBSD)
|
||||
* [Setup for Raspberry Pi](https://github.com/ethereum/wiki/wiki/Raspberry-Pi-instructions)
|
||||
* [ARM](Installation-Instructions-for-ARM)
|
||||
* [Usage instructions for Docker](Running-in-Docker)
|
||||
* [ARM](../doc/Installation-Instructions-for-ARM)
|
||||
* [Usage instructions for Docker](../doc/Running-in-Docker)
|
||||
|
||||
## Quick Links
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ This document is the entry point for developers of the Go implementation of Ethe
|
|||
|
||||
### Go Environment
|
||||
|
||||
We assume that you have [`go` v1.8 installed](Installing-Go), and `GOPATH` is set.
|
||||
We assume that you have [`go` v1.8 installed](../doc/Installing-Go), and `GOPATH` is set.
|
||||
|
||||
**Note**:You must have your working copy under `$GOPATH/src/github.com/ethereum/go-ethereum`.
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ go-ethereum exectuables can be built individually. To build just geth, use:
|
|||
go install -v ./cmd/geth
|
||||
```
|
||||
|
||||
Read about cross compilation of go-ethereum [here](Cross-compiling-Ethereum).
|
||||
Read about cross compilation of go-ethereum [here](../doc/Cross-compiling-Ethereum).
|
||||
|
||||
### Git flow
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ for more see [go test flags](http://golang.org/cmd/go/#hdr-Description_of_testin
|
|||
### Metrics and monitoring
|
||||
|
||||
`geth` can do node behaviour monitoring, aggregation and show performance metric charts.
|
||||
Read about [metrics and monitoring](Metrics-and-Monitoring)
|
||||
Read about [metrics and monitoring](../doc/Metrics-and-Monitoring)
|
||||
|
||||
### Getting Stack Traces
|
||||
|
||||
|
|
@ -126,7 +126,7 @@ PRs need to be based on and opened against the `master` branch (unless by explic
|
|||
agreement, you contribute to a complex feature branch).
|
||||
|
||||
Your PR will be reviewed according to the [Code Review
|
||||
Guidelines](Code-Review-Guidelines).
|
||||
Guidelines](../doc/Code-Review-Guidelines).
|
||||
|
||||
We encourage a PR early approach, meaning you create the PR the earliest even without the
|
||||
fix/feature. This will let core devs and other volunteers know you picked up an issue.
|
||||
|
|
@ -134,8 +134,8 @@ These early PRs should indicate 'in progress' status.
|
|||
|
||||
## Dev Tutorials (mostly outdated)
|
||||
|
||||
* [Private networks, local clusters and monitoring](Setting-up-private-network-or-local-cluster)
|
||||
* [Private networks, local clusters and monitoring](../doc/Setting-up-private-network-or-local-cluster)
|
||||
|
||||
* [P2P 101](Peer-to-Peer): a tutorial about setting up and creating a p2p server and p2p sub protocol.
|
||||
* [P2P 101](../doc/Peer-to-Peer): a tutorial about setting up and creating a p2p server and p2p sub protocol.
|
||||
|
||||
* [How to Whisper](How-to-Whisper): an introduction to whisper.
|
||||
* [How to Whisper](../doc/How-to-Whisper): an introduction to whisper.
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ title: FAQ
|
|||
|
||||
**Q.** I would like to run multiple geth instances but got the error "Fatal: blockchain db err: resource temporarily unavailable".
|
||||
|
||||
**A.** Geth uses a datadir to store the blockchain, accounts and some additional information. This directory cannot be shared between running instances. If you would like to run multiple instances follow [these](Setting-up-private-network-or-local-cluster) instructions.
|
||||
**A.** Geth uses a datadir to store the blockchain, accounts and some additional information. This directory cannot be shared between running instances. If you would like to run multiple instances follow [these](../doc/Setting-up-private-network-or-local-cluster) instructions.
|
||||
|
||||
**Q.** How do Ethereum syncing work?
|
||||
|
||||
|
|
|
|||
|
|
@ -8,13 +8,13 @@ This is the documentation for the official Ethereum golang implementation. For g
|
|||
|
||||
Main entry points:
|
||||
|
||||
* [Installation Instructions](Building-Ethereum)
|
||||
* [Developer/Management API](Management-APIs)
|
||||
* [Managing Accounts](Managing-your-accounts)
|
||||
* [Command Line Options](Command-Line-Options)
|
||||
* [JavaScript Console](JavaScript-Console)
|
||||
* [Private Network](Private-network)
|
||||
* [Developers' Guide](Developers-Guide)
|
||||
* [Whisper v6](Whisper)
|
||||
* [Installation Instructions](../install-and-build/Building-Ethereum)
|
||||
* [Management APIs](../interface/Management-APIs)
|
||||
* [Managing Accounts](../how-to/Managing-your-accounts)
|
||||
* [Command Line Options](../interface/Command-Line-Options)
|
||||
* [JavaScript Console](../interface/JavaScript-Console)
|
||||
* [Private Network](../doc/Private-network)
|
||||
* [Developers' Guide](../install-and-build/Developers-Guide)
|
||||
* [Whisper v6](../doc/Whisper)
|
||||
|
||||
Sidebar lists all pages.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
See [Installing Geth](docs/Installing-Geth).
|
||||
See [Installing Geth](doc/Installing-Geth).
|
||||
Loading…
Reference in a new issue