mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Fix some broken links
This commit is contained in:
parent
ab7030ca75
commit
c3bff5c48b
4 changed files with 5 additions and 9 deletions
|
|
@ -20,10 +20,6 @@ defaults:
|
||||||
path: "*/*"
|
path: "*/*"
|
||||||
values:
|
values:
|
||||||
root: "../.."
|
root: "../.."
|
||||||
- scope:
|
|
||||||
path: "*/*/*"
|
|
||||||
values:
|
|
||||||
root: "../../.."
|
|
||||||
|
|
||||||
default_root: "../.."
|
default_root: "../.."
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ Go.*
|
||||||
## Token contract
|
## Token contract
|
||||||
|
|
||||||
To avoid falling into the fallacy of useless academic examples, we're going to take the
|
To avoid falling into the fallacy of useless academic examples, we're going to take the
|
||||||
official [Token contract](https://ethereum.org/token) as the base for introducing the Go
|
official Token contract as the base for introducing the Go
|
||||||
native bindings. If you're unfamiliar with the contract, skimming the linked page should
|
native bindings. If you're unfamiliar with the contract, skimming the linked page should
|
||||||
probably be enough, the details aren't relevant for now. *In short the contract implements
|
probably be enough, the details aren't relevant for now. *In short the contract implements
|
||||||
a custom token that can be deployed on top of Ethereum.* To make sure this tutorial doesn't
|
a custom token that can be deployed on top of Ethereum.* To make sure this tutorial doesn't
|
||||||
|
|
@ -83,7 +83,7 @@ of the contract itself, and need to specify a `backend` through which to access
|
||||||
The binding generator provides out of the box an RPC backend through which you can attach
|
The binding generator provides out of the box an RPC backend through which you can attach
|
||||||
to an existing Ethereum node via IPC, HTTP or WebSockets.
|
to an existing Ethereum node via IPC, HTTP or WebSockets.
|
||||||
|
|
||||||
We'll use the foundation's [Unicorn](https://ethereum.org/donate) token contract deployed
|
We'll use the foundation's token contract deployed
|
||||||
on the testnet to demonstrate calling contract methods. It is deployed at the address
|
on the testnet to demonstrate calling contract methods. It is deployed at the address
|
||||||
`0x21e6fc92f93c8a1bb41e2be64b4e1f88a54d3576`.
|
`0x21e6fc92f93c8a1bb41e2be64b4e1f88a54d3576`.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: Peer-to-peer
|
title: Peer-to-peer
|
||||||
---
|
---
|
||||||
The peer to peer package ([go-ethereum/p2p](https://github.com/ethereum/go-ethereum/tree/develop/p2p)) allows you to rapidly and easily add peer to peer networking to any type of application. The p2p package is set up in a modular structure and extending the p2p with your own additional sub protocols is easy and straight forward.
|
The peer to peer package ([go-ethereum/p2p](https://github.com/ethereum/go-ethereum/tree/master/p2p)) allows you to rapidly and easily add peer to peer networking to any type of application. The p2p package is set up in a modular structure and extending the p2p with your own additional sub protocols is easy and straight forward.
|
||||||
|
|
||||||
Starting the p2p service only requires you setup a `p2p.Server{}` with a few settings:
|
Starting the p2p service only requires you setup a `p2p.Server{}` with a few settings:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -91,10 +91,10 @@ extra management API namespaces:
|
||||||
| [admin](#admin) | [debug](#debug) | [miner](#miner) | [personal](#personal) | [txpool](#txpool) |
|
| [admin](#admin) | [debug](#debug) | [miner](#miner) | [personal](#personal) | [txpool](#txpool) |
|
||||||
| :--------------------------- | :----------------------------------------------- | :---------------------------------- | :--------------------------------------- | :------------------------- |
|
| :--------------------------- | :----------------------------------------------- | :---------------------------------- | :--------------------------------------- | :------------------------- |
|
||||||
| [addPeer](#admin_addpeer) | [backtraceAt](#debug_backtraceAt) | [setExtra](#miner_setextra) | [ecRecover](#personal_ecrecover) | [content](#txpool_content) |
|
| [addPeer](#admin_addpeer) | [backtraceAt](#debug_backtraceAt) | [setExtra](#miner_setextra) | [ecRecover](#personal_ecrecover) | [content](#txpool_content) |
|
||||||
| [datadir](#datadir) | [blockProfile](#debug_blockProfile) | [setGasPrice](#miner_setgasprice) | [importRawKey](#personal_importrawkey) | [inspect](#txpool_inspect) |
|
| [datadir](#admin_datadir) | [blockProfile](#debug_blockProfile) | [setGasPrice](#miner_setgasprice) | [importRawKey](#personal_importrawkey) | [inspect](#txpool_inspect) |
|
||||||
| [nodeInfo](#admin_nodeinfo) | [cpuProfile](#debug_cpuProfile) | [start](#miner_start) | [listAccounts](#personal_listaccounts) | [status](#txpool_status) |
|
| [nodeInfo](#admin_nodeinfo) | [cpuProfile](#debug_cpuProfile) | [start](#miner_start) | [listAccounts](#personal_listaccounts) | [status](#txpool_status) |
|
||||||
| [peers](#admin_peers) | [dumpBlock](#debug_dumpblock) | [stop](#miner_stop) | [lockAccount](#personal_lockaccount) | |
|
| [peers](#admin_peers) | [dumpBlock](#debug_dumpblock) | [stop](#miner_stop) | [lockAccount](#personal_lockaccount) | |
|
||||||
| [setSolc](#admin_setcolc) | [gcStats](#debug_gcStats) | [getHashrate](#miner_gethashrate) | [newAccount](#personal_newaccount) | |
|
| [setSolc](#admin_setsolc) | [gcStats](#debug_gcStats) | [getHashrate](#miner_gethashrate) | [newAccount](#personal_newaccount) | |
|
||||||
| [startRPC](#admin_startrpc) | [getBlockRlp](#debug_getblockrlp) | [setEtherbase](#miner_setetherbase) | [unlockAccount](#personal_unlockaccount) | |
|
| [startRPC](#admin_startrpc) | [getBlockRlp](#debug_getblockrlp) | [setEtherbase](#miner_setetherbase) | [unlockAccount](#personal_unlockaccount) | |
|
||||||
| [startWS](#admin_startws) | [goTrace](#debug_goTrace) | | [sendTransaction](#personal_sendtransaction) | |
|
| [startWS](#admin_startws) | [goTrace](#debug_goTrace) | | [sendTransaction](#personal_sendtransaction) | |
|
||||||
| [stopRPC](#admin_stoprpc) | [memStats](#debug_memStats) | | [sign](#personal_sign) | |
|
| [stopRPC](#admin_stoprpc) | [memStats](#debug_memStats) | | [sign](#personal_sign) | |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue