Skip to content

Commit

Permalink
Diagnostics Tool, v3.0.0-beta2 update (#10)
Browse files Browse the repository at this point in the history
* add development branch for preview releases

* updated tls

* updates

* update

* updates and corrections

* added staking to minimal node

* updated Polygon quicknode page

* updated Gnosis Chain quick node

* Gnosis quicknode formatting error correction

* updated disclaimer on welcome page

* updated disclaimer on welcome page

* updated disclaimer on welcome page

* typo correction

* typo correction on welcome page

* typo correction on welcome page

* updates and corrections

* updates and correction

* updates

* updates

* updates

* update

* updated

* restructured and improved Windows
installation documentation

* updated sentry and rpc_daemon

* updated full node by default, staking, alpha6 etc.

* updates and fixes

* updated staking, caplin, RPC, disk space, ports

* added op-node

* updates

* correction

* updated JSON-RPC, welcome, README

* updated intro page

* small syntax modification

* punctuation

* int chapter more info

* duplicate title

* syntax correction

* minor markdown issues

* small fixes and duplicates removal

* corrected heimdall API

* removed duplicate options

* duplicate removal

* introduced link to sync times.

* updated link

* updated to v3.00.0-beta1

* broken link, duplicate removal

* typo

* Merged main into development

* updates

* updates and corrections

* updated disclaimer on welcome page

* updates and corrections

* updates and correction

* updates

* update

* updated

* updated sentry and rpc_daemon

* updated full node by default, staking, alpha6 etc.

* updates and fixes

* updated staking, caplin, RPC, disk space, ports

* added op-node

* updates

* updated JSON-RPC, welcome, README

* updated intro page

* minor markdown issues

* small fixes and duplicates removal

* broken link, duplicate removal

* Update to v3.00.0-beta1 (#7)

* add development branch for preview releases

* updated tls

* updates

* update

* updates and corrections

* added staking to minimal node

* updated Polygon quicknode page

* updated Gnosis Chain quick node

* Gnosis quicknode formatting error correction

* updated disclaimer on welcome page

* updated disclaimer on welcome page

* updated disclaimer on welcome page

* typo correction

* typo correction on welcome page

* typo correction on welcome page

* updates and corrections

* updates and correction

* updates

* updates

* updates

* update

* updated

* restructured and improved Windows
installation documentation

* updated sentry and rpc_daemon

* updated full node by default, staking, alpha6 etc.

* updates and fixes

* updated staking, caplin, RPC, disk space, ports

* added op-node

* updates

* correction

* updated JSON-RPC, welcome, README

* updated intro page

* small syntax modification

* punctuation

* int chapter more info

* duplicate title

* syntax correction

* minor markdown issues

* small fixes and duplicates removal

* corrected heimdall API

* removed duplicate options

* duplicate removal

* introduced link to sync times.

* updated link

* updated to v3.00.0-beta1

* broken link, duplicate removal

* typo

---------

Co-authored-by: Michele Modolo <michele@nospam.nospam>
Co-authored-by: bloxster <bloxster@proton.me>

* small updates and typos

* conflict solving

* Updated Diagnostics Tool and minor fixes

* update to 3.00.0-beta2

* update to v3.0.0-beta2

* updated broken link in Caplin

* removed instructions for staking with externalcl

---------

Co-authored-by: Michele Modolo <michele@nospam.nospam>
Co-authored-by: bloxster <bloxster@proton.me>
  • Loading branch information
3 people authored Feb 26, 2025
1 parent 798c5e9 commit f9359f7
Show file tree
Hide file tree
Showing 26 changed files with 242 additions and 49 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
The Erigon 3 documentation © 2025 by Erigon contributors is licensed under CC BY 4.0.

To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/
To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/.
5 changes: 3 additions & 2 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@
- [Caplin](advanced/bp-caplin.md)

- [Tools](tools.md)
- [Dagnostic Tools](tools/introduction.md)
- [Diagnostics Tool](tools/introduction.md)
- [Installation](tools/installation.md)
- [Setup](tools/setup.md)
- [User Interface](tools/user_interface.md)
- [Options](tools/options.md)
- [Browser Interface](tools/user_interface.md)
- [Otterscan](tools/otterscan.md)

- [Frequently Asked Questions](faq.md)
Expand Down
15 changes: 11 additions & 4 deletions src/about/contributing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Contributing to Erigon 3
# Contributing

## Development

- [Contributing to Erigon 3](#contributing-to-erigon-3)
- [Contributing to Documentation](#contributing-to-documentation)


## Contributing to Erigon 3

### Development

Erigon is an open-source project that welcomes contributions from developers worldwide who are passionate about advancing the Ethereum ecosystem. Bounties may be offered for noteworthy contributions, as the team is committed to continuously enhancing the tool to better serve the Erigon community.

Expand Down Expand Up @@ -39,6 +46,6 @@ Visit also Erigon's **[Wiki](https://github.com/ledgerwatch/erigon/wiki)** to ga
- Transaction Pool Design
- Using Postman to test RPC.

# Documentation
# Contributing to Documentation

To contribute to this documentation, commit your change to the development branch on **[Github](https://github.com/erigontech/docs/tree/development)**. You might want to run it locally to verify the output before committing, see how MdBook works [here](https://rust-lang.github.io/mdBook/index.html).
To contribute to the Erigon 3 book, commit your change to the development branch on **[Github](https://github.com/erigontech/docs/tree/development)**. You might want to run it locally to verify the output before committing, see how MdBook works [here](https://rust-lang.github.io/mdBook/index.html).
6 changes: 5 additions & 1 deletion src/about/license.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# License

The Erigon 3 Book © 2024 by Erigon contributors is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
Copyright 2025 Erigon Technologies AG.

Licensed under the [LGPL-3.0](https://github.com/erigontech/erigon/blob/release/2.60/COPYING.LESSER), [GPL-3.0](https://github.com/erigontech/erigon/blob/release/2.60/COPYING).

*Permissions of this copyleft license are conditioned on making available complete source code of licensed works and modifications under the same license or the GNU GPLv3. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work through interfaces provided by the licensed work may be distributed under different terms and without source code for the larger work.*
5 changes: 3 additions & 2 deletions src/about/reachus.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

The Erigon Technologies AG office is located in the CV Labs in Zug:


```
Erigon Technologies AG
Erigon Technologies AG
Damstrasse 16
6300 Zug
Switzerland
```

**[erigon.tech](https://erigon.tech)**

## Erigon Discord Server

The most important discussions take place on the Discord server where also some support is provided. To get an invite, send an email to bloxster [at] proton.me with your name, profession, a short explanation why you want to join the Discord server and how you heard about Erigon.
Expand Down
21 changes: 0 additions & 21 deletions src/advanced/bp-ext.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
# Using an external consensus client as validator

To enable external consensus clients, add the flags:

```bash
--mine --miner.etherbase=...
```
or

```bash
--mine --miner.miner.sigkey=...
```

Other supported options are:
- `--miner.notify`: Comma separated HTTP URL list to notify of new work packages
- `--miner.gaslimit`: Target gas limit for mined blocks (default: `36000000`)
- `--miner.etherbase`: Public address for block mining rewards (default: "`0`")
- `--miner.extradata`: Block extra data set by the miner (default: `client version`)
- `--miner.noverify`: Disable remote sealing verification (default: `false`)
- `--miner.noverify`: Disable remote sealing verification (default: `false`)
- `--miner.sigfile`: Private key to sign blocks with
- `--miner.recommit`: Time interval to recreate the block being mined (default: `3s`)
- `--miner.gasprice`: This option sets the minimum gas price for mined transactions
- `--miner.gastarget`: This option sets the maximum amount of gas that could be spent during a transaction.
2 changes: 1 addition & 1 deletion src/advanced/caplin.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ In addition, Caplin can backfill recent blobs for an op-node or other uses with

- `--caplin.blobs-immediate-backfill`: Backfills the last 18 days' worth of blobs to quickly populate historical blob data for operational needs or analytics.

Caplin can also be used for [block production](/advanced/block-prod.md#using-caplin-as-validator), aka **staking**.
Caplin can also be used for [block production](/advanced/bp-caplin.md), aka **staking**.
7 changes: 4 additions & 3 deletions src/advanced/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ USAGE:
erigon [command] [flags]
VERSION:
3.00.0-beta1-0b94461f
3.00.0-beta2-9da58c0b
COMMANDS:
init Bootstrap and initialize a new genesis block
Expand Down Expand Up @@ -191,7 +191,7 @@ GLOBAL OPTIONS:
--polygon.sync.stage Enabling syncing with a stage that uses the polygon sync component (default: false)
--ethstats value Reporting URL of a ethstats service (nodename:secret@host:port)
--override.prague value Manually specify the Prague fork time, overriding the bundled setting (default: 0)
--caplin.discovery.addr value Address for Caplin DISCV5 protocol (default: "127.0.0.1")
--caplin.discovery.addr value Address for Caplin DISCV5 protocol (default: "0.0.0.0")
--caplin.discovery.port value Port for Caplin DISCV5 protocol (default: 4000)
--caplin.discovery.tcpport value TCP Port for Caplin DISCV5 protocol (default: 4001)
--caplin.checkpoint-sync-url value [ --caplin.checkpoint-sync-url value ] checkpoint sync endpoint
Expand Down Expand Up @@ -248,6 +248,8 @@ GLOBAL OPTIONS:
--shutter Enable the Shutter encrypted transactions mempool (defaults to false) (default: false)
--shutter.p2p.bootstrap.nodes value [ --shutter.p2p.bootstrap.nodes value ] Use to override the default p2p bootstrap nodes (defaults to using the values in the embedded config)
--shutter.p2p.listen.port value Use to override the default p2p listen port (defaults to 23102) (default: 0)
--polygon.pos.ssf Enabling Polygon PoS Single Slot Finality (default: false)
--polygon.pos.ssf.block value Enabling Polygon PoS Single Slot Finality since block (default: 0)
--pprof Enable the pprof HTTP server (default: false)
--pprof.addr value pprof HTTP server listening interface (default: "127.0.0.1")
--pprof.port value pprof HTTP server listening port (default: 6060)
Expand All @@ -273,4 +275,3 @@ GLOBAL OPTIONS:
--config value Sets erigon flags from YAML/TOML file
--help, -h show help
--version, -v print the version
```
Binary file added src/images/diag_create_session_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/diag_create_session_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/diag_create_session_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/diag_create_session_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/logoDEF-07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/installation/build_exec_win.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Then click on the "**New**" button and paste the following path:
Open the Command Prompt and type the following:

```bash
git clone --branch v3.0.0-beta1 --single-branch https://github.com/erigontech/erigon.git
git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
```

You might need to change the `ExecutionPolicy` to allow scripts created locally or signed by a trusted publisher to run:
Expand Down
2 changes: 1 addition & 1 deletion src/installation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Here are the steps to download and start Erigon 3 in Docker:
3. Download the latest version:

```bash
docker pull erigontech/erigon:v3.0.0-beta1
docker pull erigontech/erigon:v3.0.0-beta2
```

* List the downloaded images to get the IMAGE ID:
Expand Down
2 changes: 1 addition & 1 deletion src/installation/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
The basic Erigon configuration is suitable for most users just wanting to run a node. For building the latest stable release use the following command:

```bash
git clone --branch v3.0.0-beta1 --single-branch https://github.com/erigontech/erigon.git
git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
cd erigon
make erigon
```
Expand Down
4 changes: 2 additions & 2 deletions src/installation/upgrading-md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To upgrade Erigon to a newer version when you've originally installed it via Git
Replace `<new_version_tag>` with the version tag of the new release, for example:

```bash
git checkout v3.0.0-beta1
git checkout v3.0.0-beta2
```

* **Rebuild Erigon**: Since the codebase has changed, you need to compile the new version. Run:
Expand All @@ -46,7 +46,7 @@ If you're using Docker to run Erigon, the process to upgrade to a newer version
Replace `<new_version_tag>` with the actual version tag you wish to use. For example:

```bash
docker pull erigontech/erigon:v3.0.0-beta1
docker pull erigontech/erigon:v3.0.0-beta2
```


Expand Down
2 changes: 1 addition & 1 deletion src/nodes/ethereum.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Check which [type of node](/basic/node.md) you might want to run and the [disk s
For MacOS and Linux, run the following commands to build from source the latest Erigon version:

```bash
git clone --branch v3.0.0-beta1 --single-branch https://github.com/erigontech/erigon.git
git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
cd erigon
make erigon
```
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/gnosis.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Check which [type of node](/basic/node.md) you might want to run and the [disk s
For MacOS and Linux, run the following commands to build from source the latest Erigon version:

```bash
git clone --branch v3.0.0-beta1 --single-branch https://github.com/erigontech/erigon.git
git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
cd erigon
make erigon
```
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/polygon.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Check which [type of node](/basic/node.md) you might want to run and the [disk s
For MacOS and Linux, run the following commands to build from source the latest Erigon version:

```bash
git clone --branch v3.0.0-beta1 --single-branch https://github.com/erigontech/erigon.git
git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
cd erigon
make erigon
```
Expand Down
7 changes: 6 additions & 1 deletion src/tools.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Tools

<img src="/images/WIP.png" alt="" style="display: block; margin: 0 auto;">
Erigon offers a range of tools to enhance your experience and provide valuable assistance when:

1. Troubleshooting issues with your local or remote Erigon node using our [Diagnostics Tool](/tools/introduction.md), which helps you identify and resolve problems efficiently.
2. Exploring the blockchain with [Otterscan](/tools/otterscan.md), a feature-rich EVM block explorer that allows you to browse and analyze blockchain data with ease.

Both tools are developed internally and are fully supported for our users.
15 changes: 15 additions & 0 deletions src/tools/installation.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
# Installation

## Pre-requisites

- Erigon Node running locally;
- Ngrok, in case you are planning to monitor a remote node, see installation at <https://ngrok.com/docs/getting-started/>.

## Diagnostics Tool Set Up

```bash
git clone https://github.com/erigontech/diagnostics.git
cd diagnostics
make build
```

You are now ready to run the Diagnostic Tool.
9 changes: 5 additions & 4 deletions src/tools/introduction.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Diagnostic Tool
# Diagnostics Tool

As the Erigon ecosystem expands, the demand for an effective system to diagnose and resolve user issues grows. The Erigon Diagnostics Tool is designed to offer a simplified approach to pinpointing the underlying reasons for problems faced by Erigon users, be they individuals, companies utilizing Erigon internally, or enterprises granting Erigon node access to others.
Key Features
As the Erigon ecosystem expands, the demand for an effective system to diagnose and resolve user issues grows. The Erigon Diagnostics Tool is designed to offer a simplified approach to pinpointing the underlying reasons for problems faced by Erigon users.

## Key Features

The Erigon Diagnostics tool offers the following features:

- **Automated Data Collection**: The tool can gather essential information about the user's Erigon node, including the Erigon version, system parameters, and recent console output, without requiring extensive manual input from the user.

- **Interactive Diagnostics**: When additional data is needed to pinpoint the issue, the tool facilitates an interactive process, guiding the user through targeted data collection to optimize the troubleshooting process.

- **Diagnostic Reporting**: The tool generates comprehensive diagnostic reports, making it easier for the Erigon development team to analyze the issues and provide effective solutions.
- **Diagnostic Reporting**: The tool generates comprehensive diagnostic reports, making it easier to analyze the issues.
49 changes: 49 additions & 0 deletions src/tools/options.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Options

The following flags can be used to configure various parameters of the Diagnostics Tool.

## Configuration File:

- `--config` : Specify a configuration file (default is `$HOME/.cobra.yaml`).

## Network Settings:

- `--addr` : Network interface to listen on (default is `localhost`).
- `--port` : Port to listen on (default is `8080`).

## Session Management:

- `--node.sessions` : Maximum number of node sessions to allow (default is `5000`).
- `--ui.sessions` : Maximum number of UI sessions to allow (default is `5000`).

## Logging Configuration:

- `--log.dir.path` : Directory path to store log data (default is `./logs`).
- `--log.file.name` : Name of the log file (default is `diagnostics.log`).
- `--log.file.size.max` : Maximum size of log file in megabytes (default is `100`).
- `--log.file.age.max` : Maximum age in days a log file can persist in the system (default is `28`).
- `--log.max.backup` : Maximum number of log files that can persist (default is `5`).
- `--log.compress` : Whether to compress historical log files (default is `false`).


# Other options

To display other available options for Diagnostics Tool digit:

```bash
cd erigon
./build/bin/erigon support --help
```

The `--help` flag listing is reproduced below for your convenience.

- `--diagnostics.addr [value]`: By default, the diagnostics address is `localhost:8080`. You may tunnel it to connect to a remote node, you must specify it for this flag.
- `--debug.addrs [value]`: Comma separated list of URLs to the debug endpoints thats are being diagnosed [`15sk` ] (default: "localhost:6062")
- `--diagnostics.addr [value]`: Address of the diagnostics system provided by the support team, include unique session PIN (default: "`localhost:8080`")
- `--diagnostics.sessions [value]`: Comma separated list of session PINs to connect to
- `--pprof`: Enable the pprof HTTP server (default: false)
- `--pprof.addr [value]`: pprof HTTP server listening interface (default: "`127.0.0.1`")
- `--pprof.port [value]`: pprof HTTP server listening port (default: `6060`)
- `--pprof.cpuprofile [value]`: Write CPU profile to the given file
- `--trace [value]`: Write execution trace to the given file
- `--help`, `-h`: show help
Loading

0 comments on commit f9359f7

Please sign in to comment.