Commit Graph

70 Commits

Author SHA1 Message Date
8bfc3d093e test: ignore another flaky geth test (#3757) 2023-07-13 13:56:41 +00:00
526f624e1c test: tmp ignore another flaky geth test (#3663) 2023-07-07 17:50:15 +00:00
a7431465fa chore(crates): deprecate staged-sync (#3564) 2023-07-04 10:15:52 +00:00
7850cc0b8d test: disable flakey test (#3486) 2023-06-29 22:58:15 +00:00
0ec32255e9 test: set --authrpc.port to 0 for Geth instance (#3476) 2023-06-29 19:30:15 +00:00
b0df0262e3 test: run geth blacklist test also serial (#3469) 2023-06-29 16:09:13 +00:00
10a5737a59 fix: Use random port for port reuse test (#3457) 2023-06-28 21:52:59 +00:00
faeb612553 fix: flaky addr in use test (#3364) 2023-06-23 17:32:58 +00:00
d4b9ab0d05 test: fix flaky shutdown test with race condition (#3043) 2023-06-06 15:34:30 -07:00
ebdfa2522a test: fix another event race condition (#2730) 2023-05-18 15:39:26 +02:00
170a606f77 test: fix event race condition (#2729) 2023-05-18 15:14:27 +02:00
a40b79e193 fix: set sync state at startup to idle (#2722) 2023-05-17 22:32:56 +02:00
9b79218c18 fix(p2p): network sync state (#2699) 2023-05-16 22:24:40 +02:00
93d3bd9dcd feat(net): fix peer backoffs to not interfere with reputation (#2422) 2023-04-27 15:53:12 +02:00
c132c6681a fix(net): syncing should be true at startup (#2395) 2023-04-25 17:09:37 +02:00
154ece7665 fix: simplify SyncState and fix wrong update (#2256) 2023-04-15 01:31:09 +02:00
643ee5226c chore(net): improve network service launch error diagnostic (#2068) 2023-04-01 08:20:27 +02:00
f60b380a1e test: allow testing without --all-features (#1882) 2023-03-21 15:19:37 +01:00
b28c40223e chore: move block body to primitives (#1874) 2023-03-20 21:14:23 -07:00
7ac06cd29f feat: use chain specific bootnodes (#1826) 2023-03-17 19:28:00 -04:00
1d2bb1f11d chore: add eth68 to default capabilities (#1475) 2023-02-21 09:26:09 -05:00
058349ecf8 chore(net): print unexpected event (#1466) 2023-02-20 16:21:33 +01:00
7c9b212b4a chore: relax Arc requirement for provider (#1429) 2023-02-17 14:40:20 +01:00
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
0aaf51d462 test(net): speedup network tests (#1337) 2023-02-14 15:53:05 +01:00
6a2c61f4d9 test(net): add tracing to shutdown test (#1310) 2023-02-13 05:34:18 -08:00
3a13a399da test(net): speedup network tests (#1269) 2023-02-10 12:54:09 +01:00
92ff3f961d add a test on incoming connections disconnect (#1233) 2023-02-09 10:54:56 +01:00
786a0d3e46 chore(net): support multiple eth protocol versions. (#1152) 2023-02-04 12:30:39 -08:00
dab1f4f497 feat(net): add shutdown network signal (#1011)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-04 12:28:13 -08:00
28cb91c6b4 perf(net): use qualified types for headers client future (#1115) 2023-02-01 13:12:48 +01:00
5c32ad01c9 refactor: add Peers trait und decouple rpc from NetworkHandle (#1100) 2023-01-31 10:32:45 -08:00
6b795be77f fix: increase minimum request timeout (#1078) 2023-01-30 16:10:50 +01:00
89ed9c8c41 test: print request error (#1032) 2023-01-25 04:28:33 -08:00
115e623ae6 Ability to (de)serialize NetworkConfigBuilder (#897) 2023-01-18 11:17:43 +01:00
55d1db0c1d feat(network): move test helpers to test-utils mod (#901) 2023-01-17 11:18:53 +01:00
18dbcd4e6a fix: use correct boolean conversion for direction (#870) 2023-01-13 15:50:39 +01:00
3f9e7a080a feat(net): introduce PeersInfo trait (#860) 2023-01-13 12:04:39 +01:00
ba3048ceb0 refactor: add network-api crate (#838) 2023-01-12 19:39:44 -08:00
20ee1bb1c9 refactor: move cli trace helpers to reth-tracing (#820) 2023-01-11 10:20:37 -08:00
5a58554596 test: add debug test for getting headers (#713) 2023-01-04 16:07:23 +01:00
5933014fba test(net): more txpool testing support for network (#711) 2023-01-04 14:36:51 +02:00
de6630a121 feat(network): get peer info (#603)
* Create struct PeerInfo

* Add GetPeerInfo command

* Minor changes

* Use oneshot::sender

* Add GetPeerInfoById

* Use async/await

* Add client_id to establish connection

* Add method calls

* Add test_get_peer

* Add test_get_peer_by_id

* fmt changes

* clippy changes

* chore: rustfmt

* smol touch ups

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-12-29 14:20:17 +01:00
565a0aa90b feat(engine): new payload execution (#631)
* feat(engine): new payload execution

* address PR comments

* rm unused dev deps

* add comment about lru

* remove par_iter
2022-12-29 02:36:56 -08: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
73e12341c4 feat(net): Make PeerManager emit peerevents for admin rpc (#602)
* Make PeerManager emit peerevents for admin rpc

* Fix tests to include new peer events
2022-12-25 10:00:10 +01:00
43008b7b07 feat: Add PeerEvent to NetworkEvent enum (#574)
* Add peerAdded and peerRemoved events to NetworkEvent enum

* Remove unnecessary todo macros
2022-12-24 10:25:09 +01:00
a85793cd9b feat(rpc): basic engine api (#551)
* feat(rpc): engine api

* change transition config exchange

* payload block construction

* pull out engine api logic

* linter

* clippy

* clippy

* Apply suggestions from code review

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* import & map_err for RecvError

* move result

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-12-22 12:38:28 +01:00
f5c9064b44 test(net): add e2e test for already connected (#538) 2022-12-20 18:02:16 +01:00
5c1f97cbf7 test: create events handler before interacting with network mngr (#532) 2022-12-20 00:38:23 +01:00