Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 9f75df6

Browse files
authored
Merge pull request #5867 from ethereum/bootnode-readme
Add aleth-bootnode readme and add "tools" section to aleth readme
2 parents fe2968d + 9c239ae commit 9f75df6

File tree

2 files changed

+48
-2
lines changed

2 files changed

+48
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,14 @@ GENERAL OPTIONS:
242242
-h [ --help ] Show this help message and exit
243243
```
244244

245+
## Tools
246+
The Aleth project includes the following tools in addition to the Aleth client:
247+
* **[aleth-bootnode](aleth-bootnode/)**: A C++ Ethereum discovery bootnode implementation
248+
* **[aleth-key](aleth-key/)**: A rudimentary wallet
249+
* **[aleth-vm](aleth-vm/)**: An EVM bytecode runner tool
250+
* **[rlp](rlp/)**: A RLP encoder/decoder tool
251+
* **[testeth](test/)**: A consensus test generator/runner tool
252+
245253
## Mining
246254

247255
This project is **not suitable for Ethereum mining** because the support for GPU mining
@@ -250,13 +258,11 @@ has been dropped some time ago including the ethminer tool. Use the ethminer too
250258
## Testing
251259
Details on how to run and debug the tests can be found [here](doc/usingtesteth.rst)
252260

253-
254261
## Documentation
255262

256263
- [Internal documentation for developers](doc/index.rst).
257264
- [Outdated documentation for end users](http://www.ethdocs.org/en/latest/ethereum-clients/cpp-ethereum/).
258265

259-
260266
## License
261267

262268
[![License](https://img.shields.io/github/license/ethereum/aleth.svg)](LICENSE)

aleth-bootnode/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Aleth-bootnode, a C++ Ethereum discovery bootnode implementation
2+
> A small, low memory usage C++ application which runs the Ethereum devp2p discovery protocol.
3+
4+
Aleth-bootnode is an application which runs the Ethereum devp2p discovery protocol (v4), which is the protocol that all Ethereum nodes use to find each other so they can communicate and do things like exchange blocks and transactions. You can read more about the discovery protocol here: https://github.com/ethereum/devp2p/wiki/Discovery-Overview
5+
6+
Aleth-bootnode doesn't support syncing (it doesn't understand the devp2p/RLPx TCP-based transport protocols such as the [Ethereum wire protocol](https://github.com/ethereum/wiki/wiki/Ethereum-Wire-Protocol)) and doesn't interact with a blockchain so it's small (the binary size is < 2 MB) and has very low resource usage (typically < 5 MB of private working set memory).
7+
8+
By default, Aleth-bootnode will connect to the official Ethereum bootnodes and participate in the discovery process. You can also use Aleth-bootnode to run your own private network discovery server (so your own Ethereum nodes can find each other without being visible to Ethereum nodes outside of your network) via the `--no-bootstrap` option and manually adding the Aleth-bootnode enode URL to your Ethereum nodes.
9+
10+
## Install
11+
Aleth-bootnode is a part of the [Aleth project](https://github.com/ethereum/aleth) and binaries are included in Aleth releases, so please see the [Aleth README](https://github.com/ethereum/aleth/blob/master/README.md) for instructions on building from source, downloading release binaries, and more.
12+
13+
## Usage
14+
The following is the output of `aleth-bootnode.exe -h` on Windows:
15+
```
16+
NAME:
17+
aleth-bootnode
18+
USAGE:
19+
aleth-bootnode [options]
20+
21+
GENERAL OPTIONS:
22+
-h [ --help ] Show this help message and exit
23+
24+
NETWORKING:
25+
--public-ip <ip> Force advertised public IP to the given IP (default: auto)
26+
--listen-ip <ip>(:<port>) Listen on the given IP for incoming connections (default: 0.0.0.0)
27+
--listen <port> Listen on the given port for incoming connections (default: 30303)
28+
--allow-local-discovery Include local addresses in the discovery process. Used for testing purposes.
29+
--no-bootstrap Do not connect to the default Ethereum bootnode servers
30+
LOGGING OPTIONS:
31+
-v [ --log-verbosity ] <0 - 4> Set the log verbosity from 0 to 4 (default: 2).
32+
--log-channels <channel_list> Space-separated list of the log channels to show (default: show all channels).
33+
--log-exclude-channels <channel_list> Space-separated list of the log channels to hide.
34+
```
35+
36+
## Contributing
37+
See the [Contribute section of the Aleth README for details](https://github.com/ethereum/aleth/blob/master/README.md#Contribute).
38+
39+
## License
40+
Aleth-bootnode is a part of the Aleth project and covered by it's license. Please see the [License section of the Aleth README for details](https://github.com/ethereum/aleth/blob/master/README.md#License).

0 commit comments

Comments
 (0)