Dan Cline f1e6639374 feat(net): authenticate sessions (#178)
* Switch stream type of ActiveSession to EthStream

 * Start `StatusBuilder` for initializing the `Status` message required
   for the handshake
 * Add `Hardfork` for `Status` default forkid
 * Add `MAINNET_GENESIS` constant

* finish `StatusBuilder`

* initialize eth streams in session

 * add status, hello, and fork filter to session manager
 * fix status builder example
 * add status and hello to network config
   * will probably remove

* removing status and hello from networkconfig

* move forkid to primitives

* change imports for forkid

* add hardfork to primitives

* remove hardfork and forkid from eth-wire

* fix remaining eth-wire forkid references

* put mainnet genesis in constants, remove NodeId

* replace NodeId with PeerId

 * the only NodeId remaining is inherited from enr
 * PeerId still needs to be documented
 * also run cargo fmt

* replace loop with iter().any()

* ignore missing docs for hardforks

* use correct PeerId for Discv4::bind example test

* document PeerId as secp256k1 public key

* cargo fmt

* temporarily allow too_many_arguments

 * the authenticate and start_pending_incoming_session methods have many
   arguments, we can reconsider the lint or fix the methods at a later
   point
2022-11-14 12:03:05 -05:00
2022-11-11 07:46:09 +01:00
2022-10-11 18:52:28 +02:00
2022-10-24 15:16:45 +02:00
2022-10-09 10:07:59 +02:00
2022-10-11 18:52:28 +02:00
2022-11-10 19:47:00 +01:00
2022-11-11 07:45:43 +01:00
2022-10-07 18:20:29 -07:00
2022-10-07 18:20:29 -07:00
2022-09-21 23:58:11 +02:00

reth

Blazing-fast implementation of the Ethereum protocol

CI status cargo-deny status Codecov

Build

Rust minimum required version to build this project is 1.65.0 published 02.11.2022

Docs

Contributor docs can be found here.

Description
No description provided
Readme 490 MiB
Languages
Rust 93.6%
HTML 4.7%
JSON-with-Comments 1.3%