Skip to content

Commit

Permalink
Merge pull request #8713 from ethereum/jc-merge-cleanup
Browse files Browse the repository at this point in the history
various post-merge cleanup items
  • Loading branch information
minimalsm authored Nov 28, 2022
2 parents 773bda4 + 5611a25 commit 9f143fa
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 22 deletions.
6 changes: 2 additions & 4 deletions src/content/developers/docs/apis/json-rpc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2286,14 +2286,12 @@ contract Multiply7 {
The first thing to do is make sure the HTTP RPC interface is enabled. This means we supply Geth with the `--http` flag on startup. In this example we use the Geth node on a private development chain. Using this approach we don't need ether on the real network.
```bash

geth --http --dev --mine --miner.threads 1 --unlock 0 console 2>>geth.log

geth --http --dev console 2>>geth.log
```
This will start the HTTP RPC interface on `http://localhost:8545`.

We can verify that the interface is running by retrieving the Coinbase address and balance using [curl](https://curl.haxx.se/download.html). Please note that data in these examples will differ on your local node. If you want to try these commands, replace the request params in the second curl request with the result returned from the first.
We can verify that the interface is running by retrieving the Coinbase address and balance using [curl](https://curl.se). Please note that data in these examples will differ on your local node. If you want to try these commands, replace the request params in the second curl request with the result returned from the first.

```bash
curl --data '{"jsonrpc":"2.0","method":"eth_coinbase", "id":1}' -H "Content-Type: application/json" localhost:8545
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ Finally, checkpoints can be requested from other nodes; perhaps another Ethereum
- [Vitalik: How I learned to love weak subjectivity](https://blog.ethereum.org/2014/11/25/proof-stake-learned-love-weak-subjectivity/)
- [Weak subjectivity (Teku docs)](https://docs.teku.consensys.net/en/latest/Concepts/Weak-Subjectivity/)
- [Phase-0 Weak subjectivity guide](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/weak-subjectivity.md)
- [Analysis n weak subjectivity in Ethereum 2.0](https://github.com/runtimeverification/beacon-chain-verification/blob/master/weak-subjectivity/weak-subjectivity-analysis.pdf)
- [Analysis of weak subjectivity in Ethereum 2.0](https://github.com/runtimeverification/beacon-chain-verification/blob/master/weak-subjectivity/weak-subjectivity-analysis.pdf)
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A detailed look at the Dagger-Hashimoto algorithm.
lang: en
---

Dagger-Hashimoto was the original research implementation and specification for Ethereum's mining algorithm. Dagger-Hashimoto was superseded by [Ethash](#ethash). Mining will be switched off completely after [The Merge](/updates/merge), at which point Ethereum will be secured using a [proof-of-stake](/developers/docs/consensus-mechanisms/pos) mechanism instead.
Dagger-Hashimoto was the original research implementation and specification for Ethereum's mining algorithm. Dagger-Hashimoto was superseded by [Ethash](#ethash). Mining was switched off completely at [The Merge](/updates/merge) on 15th September 2022. Since then, Ethereum has been secured using a [proof-of-stake](/developers/docs/consensus-mechanisms/pos) mechanism instead. This page is for historical interest - the information here is no longer relevant for post-Merge Ethereum.

## Prerequisites {#prerequisites}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ Ethereum Mainnet only ever used one mining algorithm - ['Ethash'](/developers/do

- [What does it mean to mine Ethereum?](https://docs.ethhub.io/using-ethereum/mining/) _EthHub_

## Related tools {#related-tools}

- [Top Ethereum miners](https://etherscan.io/stat/miner?range=7&blocktype=blocks)
- [Etherscan mining calculator](https://etherscan.io/ether-mining-calculator)
- [Minerstat mining calculator](https://minerstat.com/coin/ETH)

## Related topics {#related-topics}

- [Gas](/developers/docs/gas/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ The consensus layer top-level data includes the following:

## Block explorers {#block-explorers}

- [Etherscan](https://etherscan.io/) - a block explorer you can use to fetch data for Ethereum Mainnet, Ropsten Testnet, Kovan Testnet, Rinkeby Testnet, and Goerli Testnet
- [Etherscan](https://etherscan.io/) - a block explorer you can use to fetch data for Ethereum Mainnet and Goerli Testnet
- [Etherchain](https://www.etherchain.org/) - a block explorer for the Ethereum Mainnet
- [Ethplorer](https://ethplorer.io/) - a block explorer with a focus on tokens for the Ethereum Mainnet and the Kovan testnet
- [Blockchair](https://blockchair.com/ethereum) - the most private Ethereum explorer. Also for sorting and filtering (mempool) data
Expand Down
2 changes: 1 addition & 1 deletion src/content/developers/docs/intro-to-ethereum/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ A reusable snippet of code (a program) which a developer publishes into EVM stat
## Further reading {#further-reading}

- [Ethereum Whitepaper](/whitepaper/)
- [How does Ethereum work, anyway?](https://www.preethikasireddy.com/post/how-does-ethereum-work-anyway) - _Preethi Kasireddy_
- [How does Ethereum work, anyway?](https://www.preethikasireddy.com/post/how-does-ethereum-work-anyway) - _Preethi Kasireddy_ (**NB** this resource is still valuable but be aware that it predates [The Merge](/upgrades/merge) and therefore still refers to Ethereum's proof-of-work mechanism - Ethereum is actually now secured using [proof-of-stake](/developers/docs/consensus-mechanisms/pos))

_Know of a community resource that helped you? Edit this page and add it!_

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ Addressing client diversity requires more than individual users to choose minori

[Teku](https://consensys.net/knowledge-base/ethereum-2/teku/)

[Lodestar](https://github.com/ChainSafe/lodestar) - _Under review and audit_
[Lodestar](https://github.com/ChainSafe/lodestar)

[Prysm](https://docs.prylabs.network/docs/getting-started)

Technical users can help accelerate this process by writing more tutorials and documentation for minority clients and encouraging their node-operating peers to migrate away from the dominant clients. Guides for switching to a minority consensus client are available on [clientdiversity.org](https://clientdiversity.org/).

Expand Down
10 changes: 5 additions & 5 deletions src/content/developers/docs/nodes-and-clients/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ If you want to [run your own node](/developers/docs/nodes-and-clients/run-a-node

Instead of downloading every block, light nodes download block headers. These headers only contain summary information about the contents of the blocks. Any other information required by the light node gets requested from a full node. The light node can then independently verify the data they receive against the state roots in the block headers. Light nodes enable users to participate in the Ethereum network without the powerful hardware or high bandwidth required to run full nodes. Eventually, light nodes might run on mobile phones or embedded devices. The light nodes do not participate in consensus (i.e. they cannot be miners/validators), but they can access the Ethereum blockchain with the same functionality as a full node.

The execution client Geth includes a [light sync](https://github.com/ethereum/devp2p/blob/master/caps/les.md) option. However, a light Geth node relies upon full nodes serving light node data. Few full nodes opt to serve light node data, meaning light nodes often fail to find peers. There are currently no production-ready light clients on the consensus layer; however, several are in development.
Light nodes are not yet a feature of proof-of-stake Ethereum. There were light clients on the old proof-of-work network but they were rarely used because they relied on altruistic full-nodes opting in to serving them with data. Because not many nodes chose to serve light client data, those that did handled a lot of traffic.

Light clients are an area of active development for Ethereum and we expect to see new light clients for the consensus layer and execution layer soon.
There are also potential routes to providing light client data over the [gossip network](https://www.ethportal.net/). This is advantageous because the gossip network could support a network of light nodes without requiring full nodes to serve requests.

Ethereum does not support a large population of light nodes yet, but light node support is an area expected to develop rapidly in the near future.

### Archive node {#archive-node}

- Stores everything kept in the full node and builds an archive of historical states. It is needed if you want to query something like an account balance at block #4,000,000, or simply and reliably test your own transactions set without mining them using tracing.
Expand Down Expand Up @@ -145,7 +144,7 @@ This table summarizes the different clients. All of them pass [client tests](htt
| [Erigon](https://github.com/ledgerwatch/erigon) | Go | Linux, Windows, macOS | Mainnet, Sepolia, Görli, Rinkeby, Ropsten, and more | Full | Archive, Pruned |
| [Akula](https://akula.app) | Rust | Linux | Mainnet, Sepolia, Görli, Rinkeby, Ropsten | Full | Archive, Pruned |

**Note that OpenEthereum [has been deprecated](https://medium.com/openethereum/gnosis-joins-erigon-formerly-turbo-geth-to-release-next-gen-ethereum-client-c6708dd06dd) and is no longer being maintained.** Use it with caution and preferably switch to another client implementation.
**Note that OpenEthereum [has been deprecated](https://medium.com/openethereum/gnosis-joins-erigon-formerly-turbo-geth-to-release-next-gen-ethereum-client-c6708dd06dd) and is no longer being maintained.** Use another client implementation!

For more on supported networks, read up on [Ethereum networks](/developers/docs/networks/).

Expand Down Expand Up @@ -257,6 +256,8 @@ Light client mode downloads all block headers, block data, and verifies some ran
- Gets only the latest state while relying on trust in developers and consensus mechanism.
- Client ready to use with current network state in a few minutes.

**NB** Light sync does not yet work with proof-of-stake Ethereum - new versions of light sync should ship soon!

[More on Light clients](https://www.parity.io/blog/what-is-a-light-client/)

#### Snap sync {#snap-sync}
Expand Down Expand Up @@ -305,5 +306,4 @@ There is a lot of information about Ethereum clients on the internet. Here are f

## Related tutorials {#related-tutorials}

- [Running a Node with Geth](/developers/tutorials/run-light-node-geth/) _– How to download, install and run Geth. Covering syncmodes, the JavaScript console, and more._
- [Turn your Raspberry Pi 4 into a validator node just by flashing the MicroSD card – Installation guide](/developers/tutorials/run-node-raspberry-pi/) _– Flash your Raspberry Pi 4, plug in an ethernet cable, connect the SSD disk and power up the device to turn the Raspberry Pi 4 into a full Ethereum node running the execution layer (Mainnet) and / or the consensus layer (Beacon Chain / validator)._
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,9 @@ This example starts Geth on mainnet, stores blockchain data at `/data/ethereum`,
```
geth --mainnet \
--datadir "/data/ethereum" \
--http --http.api="eth,web3,net" \
--http --authrpc.addr localhost \
--authrpc.vhosts="localhost" \
--authrpc.port 8551
--authrpc.jwtsecret=/path/to/jwtsecret
```

Expand Down
2 changes: 1 addition & 1 deletion src/content/developers/docs/transactions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ But a transaction object needs to be signed using the sender's private key. This

An Ethereum client like Geth will handle this signing process.

Example [JSON-RPC](https://eth.wiki/json-rpc/API) call:
Example [JSON-RPC](/developers/docs/apis/json-rpc) call:

```json
{
Expand Down

0 comments on commit 9f143fa

Please sign in to comment.