554e8b1913
feat(exex): derive serde ser/deser for ExExNotification ( #8963 )
2024-06-20 10:33:53 +00:00
d05be8a467
chore: remove reth-primitives dependency from discv5, discv4 and etl crates ( #8900 )
2024-06-17 17:47:54 +00:00
2a5c93fab3
chore: use reth_chainspec where possible ( #8891 )
2024-06-17 16:09:09 +00:00
a568535b85
chore(deps): replace reth-primitives in discv4 ( #8813 )
2024-06-13 21:16:11 +00:00
8717ed757b
feat: add secp256k1 feature in reth-network-peers ( #8712 )
...
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2024-06-10 11:46:22 +00:00
2852893a7d
chore: rename network-types to network-peers ( #8699 )
2024-06-09 13:13:46 +00:00
2e47e9fb0d
feat: add udp packet ratelimiting ( #8406 )
...
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com >
2024-05-27 12:27:34 +00:00
ed926ec9b9
chore: move generic-array to workspace ( #8404 )
2024-05-27 14:36:39 +02:00
14d91c3ba0
fix: make discv4 packets adhere to eip-8 ( #8039 )
2024-05-02 13:58:17 +00:00
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
e2e5201d8a
chore(deps): bump enr, discv5, secp256k1 ( #7000 )
...
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com >
2024-04-25 19:50:38 +00:00
2287392405
feat: Add random lookup for discv4 ( #5975 )
2024-01-08 17:52:24 +00:00
9aa44093cf
lints: move top-level lints to [workspace.lints] manifest table ( #5935 )
2024-01-04 13:38:02 +00:00
e897764ad4
chore(meta): manifest maintenance ( #5353 )
2023-11-08 19:53:50 +00:00
a2c62cdf61
rpc tracing to workspace ( #4986 )
2023-10-11 16:19:06 +00:00
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
7dd14a7eba
chore: pin git dependencies to specific revs ( #4552 )
2023-09-11 14:25:35 +00:00
b473f20279
chore(deps): bump enr 0.9 ( #4230 )
2023-08-24 14:23:03 +02:00
491b453edb
feat: track node record ( #4224 )
2023-08-16 16:26:06 +00:00
8cdb097829
chore: simplify workspace = true usage ( #3930 )
2023-07-26 15:21:09 +00:00
7ab8a7f3ec
chore: use workspace version ( #3240 )
2023-06-19 17:29:15 +00:00
ea2fcee995
chore: use workspace dependencies ( #3132 )
2023-06-13 22:46:26 +00:00
171166e84a
chore: add msrv to manifests, add and use workspace.package ( #3006 )
2023-06-06 03:45:44 +00:00
ae2b0954c6
perf: do not compile traces in release mode ( #2652 )
2023-05-15 17:06:10 -07:00
a40f3d775c
chore(deps): bump enr + secp256k1 ( #2443 )
2023-04-28 11:05:00 -07:00
57894f7b98
Issue 1770 move rlp impl for enr to discv4 crate ( #1804 )
...
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2023-03-16 16:59:29 -07:00
15d79cedad
chore(deps): upgrade secp256k1+enr ( #1715 )
2023-03-15 11:15:55 +01:00
f979c6c1fb
chore: reexport bytes & bump version to 1.4 ( #1395 )
2023-02-16 10:33:28 -08:00
1d1d90bd19
feat: optional serde features ( #1214 )
...
Co-authored-by: lambdaclass-user <github@lambdaclass.com >
2023-02-07 15:52:32 -08:00
27b07f57f0
fix: add serde feature to secp256k1 dep in discv4 ( #1205 )
...
Co-authored-by: lambdaclass-user <github@lambdaclass.com >
2023-02-07 15:19:53 +01:00
1f64d8e9d7
refactor: pull reth/common/rlp up to reth/rlp ( #1146 )
2023-02-02 13:54:13 -08:00
115e623ae6
Ability to (de)serialize NetworkConfigBuilder ( #897 )
2023-01-18 11:17:43 +01:00
bcbc3dacc7
test: rm multi_thread flavor for tests ( #865 )
2023-01-13 13:50:05 +01:00
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
525f28a67d
feat(net): integrate external public ip auto discovery ( #632 )
...
* feat(net): integrate external public ip auto discovery
* Update crates/net/discv4/src/config.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* rename var
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2022-12-28 16:14:07 +01:00
dcd3923d19
Add serde support for NodeRecord primitive type ( #617 )
...
* Add serde support to NodeRecord
* Move NodeRecord to primitives
along with NodeKey and Octets
* Reexport NodeRecord from discv4
* Move NodeKey and kad_key back to discv4::node
Also, move NodeRecord::key functionality to a helper function: discv4::node::record_key.
This avoids the discv5 dependency in the primitives crate.
* Fix NodeRecord (de)serializing
The default derive macros work with a dictionary like display.
Changed that to serde_with macros, that use Display and FromStr traits.
* Add some tests for NodeRecord (de)serializing
* Hide NodeKey struct
* Move Octets after NodeRecord
* Replace record_key with From trait
* Fix clippy error
unnecessary into()
2022-12-27 18:03:54 +01:00
3df86187d1
chore(deps): remove discv5 fork dep ( #536 )
...
* chore(deps): remove discv5 fork dep
* bump deps
2022-12-20 12:13:51 +01:00
f8b719e04c
refactor(disc): use KBucekt entry API ( #518 )
...
* refactor(disc): use entry API
* refactor(disc): cleanup
* chore: rustfmt
2022-12-19 16:54:03 +01:00
635203759b
feat(discv4): support eth entries ( #447 )
...
* add ENRRequest and ENRResponse messages
* todo: encode and decode impls
* scaffold enrrequest and enrresponse msgs
* implement encodable and decodable for enr
* cargo fmt
* impl sending enr requests
* silence clippy for now
* add todos for enrrequest and response in mocks
* make payload length fold more explicit
* feat: add enr support to ping pong
* integrate enr
* add update methods
* add enr handling
* feat: add enr handling
* integrate fork id
* fix: set frontier forkid
* disable eip868 by default
* address comments
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2022-12-16 14:14:19 +02:00
43f6bb9127
feat(net): integrate discovery banlist ( #442 )
...
* feat(net): integrate discovery banlist
* fix typos
2022-12-14 19:47:11 +02:00
95d99c4317
chore(disc): update discv5 and tracing ( #408 )
...
* chore(disc): update discv5 and tracing
* ignore
2022-12-13 19:12:59 +02:00
4d718bbf33
s/foundry-rs/paradigmxyz
2022-12-07 00:00:45 -08:00
6c0e2753dd
test: add mock discovery testing ( #139 )
2022-10-26 14:33:13 +02:00
ce64fefd78
feat(net): add discv4 crate ( #113 )
...
* port kad
* feat: port kad bucket
* feat: add discv4
* chore: rustfmt
* cargo update
* just reuse discv5 table
* test: add rlp tests
* message encoding
* feat: impl codec roundtrip testing
* more work in message handling
* implement ping
* feat: impl commands
* cleanup
* more cleanup
* trim config
* more docs
* feat: implement recursive lookup
* docs
* cleanup config
* feat: implement update stream
* chore: config cleanup
* docs: add crate docs
* feat: more testing
* fix deny
* clarify ring
* docs: more docs
* use discv5 master
* docs: address review and add comments
* update readme
* rustmft
* chore(clippy): make clippy happy
2022-10-25 14:23:24 +02:00