Commit Graph

52 Commits

Author SHA1 Message Date
Léa Narzis
9f98728deb feat(net): make bloom filter optional on receipts request (#16718) 2025-06-12 11:48:33 +00:00
Arsenii Kulikov
66692a7e45 feat: make NewBlock message generic (#16627) 2025-06-03 19:32:12 +00:00
Shourya Chaudhry
3e47b7255b feat: add BlockRangeUpdate message for eth/69 (#16346)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-05-20 10:47:23 +00:00
stevencartavia
2aea847433 feat: introduce Receipt69 variant (#15827)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-05-19 09:48:22 +00:00
Steven
6eb25e4bce feat: handle unknown eth message (#15450)
Co-authored-by: Stefan <6984754+stfnberat@users.noreply.github.com>
2025-04-03 15:10:06 +00:00
Matthias Seitz
68249bd6e2 chore: rm reth-primitives from network (#15063) 2025-03-15 14:56:45 +01:00
Matthias Seitz
69375780f5 chore: rm unused capabilities code (#13935) 2025-01-22 23:15:21 +00:00
Dan Cline
02f76b813e feat: remove default receipts for network components (#13371) 2024-12-12 23:44:55 +00:00
Harsh Vardhan Roy
cd13bd91cd feat: unify ReceiptWithBloom from Alloy (#13088)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-12-06 19:12:44 +00:00
Matthias Seitz
4d65b2f5db chore: misc raw message (#13006) 2024-11-29 10:50:24 +00:00
Matthias Seitz
1b874dcc6c feat: use broadcast tx generic (#12733) 2024-11-21 10:14:31 +00:00
Matthias Seitz
a0d7503eb1 feat: use network primitives pooled transaction AT (#12718) 2024-11-20 17:52:06 +00:00
Matthias Seitz
f12d7a9264 chore: use ethereum-forks types directly (#12702) 2024-11-20 11:15:48 +00:00
Arsenii Kulikov
b39957612a feat: make more network components generic over primitives (#12481) 2024-11-12 19:29:42 +00:00
Arsenii Kulikov
aece53ae88 feat: make downloaders and clients generic over block parts (#12469)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-12 15:13:21 +00:00
Håvard Anda Estensen
ae9b13f4a1 net: replace reth-primitive imports (#11023) 2024-09-19 08:29:01 +00:00
Emilia Hane
33f612a41a chore(net): Move reth_network::NetworkEvents into reth-network-api (#10062) 2024-08-05 20:27:59 +00:00
Emilia Hane
b10517b3bf chore(net): extract NetworkHandle methods for launching node to traits (#9966) 2024-08-01 16:44:23 +00:00
Matthias Seitz
2852893a7d chore: rename network-types to network-peers (#8699) 2024-06-09 13:13:46 +00:00
Thomas Coratger
7c17c6e469 add doc_markdown clippy lint (#8552)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-03 13:21:45 +00:00
Thomas Coratger
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
Thomas Coratger
19c529e8df add use_self clippy lint (#8325) 2024-05-29 13:14:14 +00:00
Matthias Seitz
de4e0ba041 chore: rm reth-interfaces from network (#8435) 2024-05-28 16:11:08 +00:00
Andrzej Sulkowski
cc4a418ddf refactor: extract peer types to net/types (#7912)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-27 04:18:59 +00:00
Thomas Coratger
92f33b071c add missing documentation for various crates (#5950) 2024-01-05 13:10:37 +00:00
DaniPopes
b1b059fe9b chore: clean up lints (#5881) 2023-12-28 16:23:50 +00:00
lmittmann
686129cb63 feat(network): added NetworkConfigBuilder.block_import(..) (#5783)
Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
2023-12-15 20:20:45 +00:00
Sean Matt
c1a6e42d19 feat: implement transaction fetcher, w/o redundant tx hash request (#5058)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-10-26 11:49:28 +00:00
DaniPopes
5f9a917fb1 feat: Alloy migration (#4737)
Co-authored-by: Alessandro Mazza <121622391+alessandromazza98@users.noreply.github.com>
Co-authored-by: Supernovahs.eth <91280922+supernovahs@users.noreply.github.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-09-28 15:55:39 +00:00
Dan Cline
40f9576c3a feat: implement network encoding for blob transactions (#4172)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-08-16 23:10:33 +00:00
rakita
c4f80b2997 feat: Store receipts (#1860)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-03-21 12:27:37 +01:00
Dan Cline
b28c40223e chore: move block body to primitives (#1874) 2023-03-20 21:14:23 -07:00
Matthias Seitz
f78da81e1e feat(net): support eth68 transactions (#1482) 2023-02-21 14:34:59 -05:00
Kim, JinSan
c9075920c1 feat(net): support eth/68 (#1361)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-20 19:37:03 -08:00
Aurélien
c5bc272057 fix: report reputation changes correctly (#1086)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-01-31 11:05:13 -08:00
joshieDo
d50d9bd0fe chore(net): Add proptest roundtrip to rlp types (#829) 2023-01-16 09:50:58 -08:00
Matthias Seitz
3ab6c278e8 fix(net): improve error propagation (#620)
* fix(net): improve error propagation

* refactor: unify on closed session

* add noop helpers

* add noop helpers

* test setup

* test: add dropped connection test

* rename mock --> test-utils
2022-12-29 16:05:56 +01:00
Matthias Seitz
8e5e7ff5b6 fix(net): improve dropped connection handling (#412) 2022-12-13 19:26:48 +02:00
mempirate
452a81e0d3 feat(net): expose message module (#390)
* feat(net): expose message module

* feat(net): expose `PeerRequest`, allow missing docs
2022-12-12 18:34:54 +02:00
Matthias Seitz
7879389059 chore(net): deny unused and cleanup (#289) 2022-11-29 20:57:40 +01:00
Matthias Seitz
e53ed8ffc2 refactor(net): use shared objects on a per peer basis (#270) 2022-11-29 11:43:45 +01:00
Matthias Seitz
8966daad9d feat(net): reputation system and peer reporting (#239)
* refactor: move to module

* feat(net): reputation system and peer reporting

* be specific in test

* use saturating sub
2022-11-24 10:14:50 +01:00
Matthias Seitz
f7c6ae5858 feat(net): impl active session (#219)
* feat(net): impl active stream

* rename fields

* work on active

* feat(net): add disconnect function

* more work on active session

* feat(net): add broadcast message variants

* feat: impl session future

* misc: refactor

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-11-21 11:31:03 +01:00
Matthias Seitz
6b336c62fb feat: add blog propagation handlers (#205) 2022-11-15 23:33:03 +01:00
Matthias Seitz
b60ced1de1 feat: add missing message handling (#200)
* feat: add missing message handling

* refactor: new block message handling

* feat: add events and commands for transaction handling

* more work in transactions

* chore: silence warnings
2022-11-15 10:34:28 +01:00
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
Matthias Seitz
5ca2cab97f refactor: move RequestError from network to interfaces p2p (#197) 2022-11-13 09:46:38 +01:00
Matthias Seitz
c43d752929 feat(net): more request handling (#186)
* feat(net): more request handling

* rm uneccessary checks

* rm box
2022-11-10 21:24:47 +01:00
Matthias Seitz
836ad6aaee feat(net): add request/response message types (#176)
* feat(net): add request/response message types

* chore: rustfmt
2022-11-08 17:52:17 +01:00
Matthias Seitz
1408309b74 feat(net): add active session type (#169)
* refactor(net): unify capability types

* refactor(net): unify capability types

* feat(net): add active session type
2022-11-07 23:15:38 +01:00