Skip to content

Commit 8b08945

Browse files
committed
chore: linting / clean up
1 parent 8057ea7 commit 8b08945

File tree

2 files changed

+20
-20
lines changed
  • public/content/developers/docs

2 files changed

+20
-20
lines changed

public/content/developers/docs/nodes-and-clients/run-a-node/index.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ The sync mode and client you choose will affect space requirements, but we've es
9393

9494
| Client | Disk size (snap sync) | Disk size (full archive) |
9595
| ---------- | --------------------- | ------------------------ |
96-
| Geth | 500GB+ | 12TB+ |
97-
| Nethermind | 500GB+ | 12TB+ |
9896
| Besu | 800GB+ | 12TB+ |
9997
| Erigon | N/A | 2.5TB+ |
98+
| Geth | 500GB+ | 12TB+ |
99+
| Nethermind | 500GB+ | 12TB+ |
100100
| Reth | N/A | 2.2TB+ |
101101

102102
- Note: Erigon and Reth do not offer snap sync, but Full Pruning is possible (~2TB for Erigon, ~1.2TB for Reth)
@@ -180,7 +180,7 @@ Developers sign released binaries with their PGP keys so you can cryptographical
180180

181181
Another form of verification is to make sure that the hash, a unique cryptographic fingerprint, of the software you downloaded matches the one provided by developers. This is even easier than using PGP, and some clients offer only this option. Just run the hash function on the downloaded software and compare it to the one from the release page. For example:
182182

183-
```
183+
```sh
184184
sha256sum teku-22.6.1.tar.gz
185185

186186
9b2f8c1f8d4dab0404ce70ea314ff4b3c77e9d27aff9d1e4c1933a5439767dde
@@ -216,15 +216,15 @@ Execution and consensus clients communicate via an authenticated endpoint specif
216216

217217
This token is generated automatically by the client software, but in some cases, you might need to do it yourself. You can generate it using [OpenSSL](https://www.openssl.org/):
218218

219-
```
219+
```sh
220220
openssl rand -hex 32 > jwtsecret
221221
```
222222

223223
#### Running an execution client {#running-an-execution-client}
224224

225225
This section will guide you through starting execution clients. It only serves as an example of a basic configuration, which will start the client with these settings:
226226

227-
- Specifies network to connect to, mainnet in our examples
227+
- Specifies network to connect to, Mainnet in our examples
228228
- You can instead choose [one of testnets](/developers/docs/networks/) for preliminary testing of your setup
229229
- Defines data directory, where all the data including blockchain will be stored
230230
- Make sure to substitute the path with a real one, e.g. pointing to your external drive
@@ -239,9 +239,9 @@ Please keep in mind that this is just a basic example, all other settings will b
239239
240240
##### Running Besu
241241

242-
This example starts Besu on mainnet, stores blockchain data in default format at `/data/ethereum`, enables JSON-RPC and Engine RPC for connecting consensus client. Engine API is authenticated with token `jwtsecret` and only calls from `localhost` are allowed.
242+
This example starts Besu on Mainnet, stores blockchain data in default format at `/data/ethereum`, enables JSON-RPC and Engine RPC for connecting consensus client. Engine API is authenticated with token `jwtsecret` and only calls from `localhost` are allowed.
243243

244-
```
244+
```sh
245245
besu --network=mainnet \
246246
--data-path=/data/ethereum \
247247
--rpc-http-enabled=true \
@@ -253,17 +253,17 @@ besu --network=mainnet \
253253

254254
Besu also comes with a launcher option which will ask a series of questions and generate the config file. Run the interactive launcher using:
255255

256-
```
256+
```sh
257257
besu --Xlauncher
258258
```
259259

260260
[Besu's documentation](https://besu.hyperledger.org/en/latest/HowTo/Get-Started/Starting-node/) contains additional options and configuration details.
261261

262262
##### Running Erigon
263263

264-
This example starts Erigon on mainnet, stores blockchain data at `/data/ethereum`, enables JSON-RPC, defines which namespaces are allowed and enables authentication for connecting the consensus client which is defined by the `jwtsecret` path.
264+
This example starts Erigon on Mainnet, stores blockchain data at `/data/ethereum`, enables JSON-RPC, defines which namespaces are allowed and enables authentication for connecting the consensus client which is defined by the `jwtsecret` path.
265265

266-
```
266+
```sh
267267
erigon --chain mainnet \
268268
--datadir /data/ethereum \
269269
--http --http.api=engine,eth,web3,net \
@@ -274,9 +274,9 @@ Erigon by default performs a full sync with 8GB HDD which will result in more th
274274

275275
##### Running Geth
276276

277-
This example starts Geth on mainnet, stores blockchain data at `/data/ethereum`, enables JSON-RPC and defines which namespaces are allowed. It also enables authentication for connecting consensus client which requires path to `jwtsecret` and also option defining which connections are allowed, in our example only from `localhost`.
277+
This example starts Geth on Mainnet, stores blockchain data at `/data/ethereum`, enables JSON-RPC and defines which namespaces are allowed. It also enables authentication for connecting consensus client which requires path to `jwtsecret` and also option defining which connections are allowed, in our example only from `localhost`.
278278

279-
```
279+
```sh
280280
geth --mainnet \
281281
--datadir "/data/ethereum" \
282282
--http --authrpc.addr localhost \
@@ -291,7 +291,7 @@ Check [docs for all configuration options](https://geth.ethereum.org/docs/fundam
291291

292292
Nethermind offers various [installation options](https://docs.nethermind.io/nethermind/first-steps-with-nethermind/getting-started). The package comes with various binaries, including a Launcher with a guided setup, which will help you to create the configuration interactively. Alternatively, you find Runner which is the executable itself and you can just run it with config flags. JSON-RPC is enabled by default.
293293

294-
```
294+
```sh
295295
Nethermind.Runner --config mainnet \
296296
--datadir /data/ethereum \
297297
--JsonRpc.JwtSecretFile=/path/to/jwtsecret
@@ -324,13 +324,13 @@ If you plan to run a validator, make sure to add a configuration flag specifying
324324

325325
When starting a Beacon Node on a testnet, you can save significant syncing time by using a public endpoint for [Checkpoint sync](https://notes.ethereum.org/@launchpad/checkpoint-sync).
326326

327-
#### Running a consensus client
327+
#### Running a consensus client {#running-a-consensus-client}
328328

329329
##### Running Lighthouse
330330

331331
Before running Lighthouse, learn more on how to install and configure it in [Lighthouse Book](https://lighthouse-book.sigmaprime.io/installation.html).
332332

333-
```
333+
```sh
334334
lighthouse beacon_node \
335335
--network mainnet \
336336
--datadir /data/ethereum \
@@ -343,7 +343,7 @@ lighthouse beacon_node \
343343

344344
Install Lodestar software by compiling it or downloading the Docker image. Learn more in [docs](https://chainsafe.github.io/lodestar/) and more comprehensive [setup guide](https://hackmd.io/@philknows/rk5cDvKmK).
345345

346-
```
346+
```sh
347347
lodestar beacon \
348348
--rootDir="/data/ethereum" \
349349
--network=mainnet \
@@ -357,7 +357,7 @@ lodestar beacon \
357357
Nimbus comes with both consensus and execution clients. It can be run on various devices even with very modest computing power.
358358
After [installing dependencies and Nimbus itself](https://nimbus.guide/quick-start.html), you can run its consensus client:
359359

360-
```
360+
```sh
361361
nimbus_beacon_node \
362362
--network=mainnet \
363363
--web3-url=http://127.0.0.1:8551 \
@@ -369,7 +369,7 @@ nimbus_beacon_node \
369369

370370
Prysm comes with script which allows easy automatic installation. Details can be found in the [Prysm docs](https://docs.prylabs.network/docs/install/install-with-script).
371371

372-
```
372+
```sh
373373
./prysm.sh beacon-chain \
374374
--mainnet \
375375
--datadir /data/ethereum \
@@ -379,7 +379,7 @@ Prysm comes with script which allows easy automatic installation. Details can be
379379

380380
##### Running Teku
381381

382-
```
382+
```sh
383383
teku --network mainnet \
384384
--data-path "/data/ethereum" \
385385
--ee-endpoint http://localhost:8551 \

public/content/developers/docs/programming-languages/rust/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Need a more basic primer first? Check out [ethereum.org/learn](/learn/) or [ethe
5050
- [Ethers_rs](https://github.com/gakonst/ethers-rs)- _Ethereum library and wallet implementation_
5151
- [SewUp](https://github.com/second-state/SewUp) - _A library to help you build your Ethereum webassembly contract with Rust and just like develop in a common backend_
5252
- [Substreams](https://github.com/streamingfast/substreams) - _Parallelized blockchain data indexing technology_
53-
- [Reth](https://github.com/paradigmxyz/reth) Reth (short for Rust Ethereum, pronunciation) is a new Ethereum full-node implementation
53+
- [Reth](https://github.com/paradigmxyz/reth) Reth (short for Rust Ethereum) is a new Ethereum full-node implementation
5454
- [Awesome Ethereum Rust](https://github.com/Vid201/awesome-ethereum-rust) - _A curated collection of projects in the Ethereum ecosystem written in Rust_
5555

5656
Looking for more resources? Check out [ethereum.org/developers.](/developers/)

0 commit comments

Comments
 (0)