Document experimental disc v5 support#1939
Document experimental disc v5 support#1939alexandratran wants to merge 7 commits intobesu-eth:mainfrom
Conversation
Signed-off-by: Alexandra Carrillo <alexandra.carrillo@consensys.net>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Signed-off-by: Alexandra Carrillo <alexandra.carrillo@consensys.net>
|
Is this related to https://github.com/besu-eth/besu-docs/pull/1926/changes ? |
It partially covers it. enr will be added, it doesn't replace enode in the admin_node. I also responded to @alexandratran directly. Here is the discussion: There are some additional cli options that we need to document along with this new "enr" changes, may be in a separate PR. Regarding the current PR, one thing to note that the "enr" entries are only used if 'discovery v5" is enabled (as you mentioned in the "tip"). I need to come back to you regarding the --nat-method comment. The nat-method may not work with ipv6. In regards to discovery v5, we have started supporting dual-stack binding i.e. discovery library (udp) and rlpx service (tcp) can listen both on ipv4 and ipv6. However, with ipv6, the --nat-method is not tested (it is only meant to work with ipv4). If user specify --p2p-host=IPv6 Address, then --nat-method may not work or incorrectly override it. Anyways, here is the cli help with new options: |
Signed-off-by: Alexandra Carrillo <alexandra.carrillo@consensys.net>
Signed-off-by: Alexandra Carrillo <alexandra.carrillo@consensys.net>
Signed-off-by: Alexandra Carrillo <alexandra.carrillo@consensys.net>
Signed-off-by: Alexandra Carrillo <alexandra.carrillo@consensys.net>
|
|
||
| ```bash | ||
| besu --bootnodes=/etc/besu/bootnodes.txt,https://example.com/enodes.txt,enode://c35c3...d615f@1.2.3.4:30303 | ||
| besu --genesis-file=privateNetworkGenesis.json --data-path=nodeDataPath --bootnodes=enode://c35c3ec90a8a51fd5703594c6303382f3ae6b2ecb99bab2c04b3794f2bc3fc2631dabb0c08af795787a6c004d8f532230ae6e9925cbbefb0b28b79295d615f@127.0.0.1:30303 |
There was a problem hiding this comment.
nit: actually bootnodes can still take txt files or url as well, its just that they must either specify all enodes or all enrs (based on discovery v5 or v4).
Description
Update CLI options, concepts, and guides, with information about experimental discovery v5 support.
Issue(s) fixed
Fixes #1920
Fixes #1928
Fixes #1930
Preview
--bootnodes: https://besu-docs-pb7tw7wf9-hyperledger.vercel.app/public-networks/reference/cli/options#bootnodesadmin_nodeInfo: https://besu-docs-pb7tw7wf9-hyperledger.vercel.app/public-networks/reference/api#admin_nodeinfo--net-restrict: https://besu-docs-pb7tw7wf9-hyperledger.vercel.app/public-networks/reference/cli/options#net-restrict