Abner Zheng
9312424db0
Always accept incoming connections from trusted peers ( #7140 )
2024-03-15 11:16:17 +00:00
Matthias Seitz
6204ec7298
test: fix connect many race condition ( #6653 )
2024-02-18 15:21:27 +00:00
back
208eb6d6a1
Make transaction manager param configurable from cli ( #6594 )
...
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com >
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2024-02-16 22:25:55 +00:00
Supernovahs.eth
bf3264b257
feat: use alloy genesis now ( #6135 )
...
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2024-01-20 10:08:32 +00:00
Luca Provini
a075c31542
feat: test tracer ( #6025 )
...
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2024-01-13 12:38:08 +00:00
Matthias Seitz
0e2346597b
feat: add for peers functions ( #5351 )
2023-11-08 14:46:07 +00:00
Panagiotis Ganelis
80be039c77
feat: add trait forNetworkEvents ( #5354 )
...
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2023-11-08 13:24:03 +00:00
Matthias Seitz
a60dbfdd56
test: remove flaky test ( #5034 )
2023-10-15 23:44:37 +02:00
Matthias Seitz
d58e4a46f8
test: TransactionGenerator and p2p testing support ( #5023 )
2023-10-14 21:13:36 +00:00
Matthias Seitz
f7c3bbcc99
test: replace unused_tcp_udp with port 0 ( #4805 )
2023-09-26 18:57:16 +02:00
Matthias Seitz
e255dd8d49
test: flaky geth test ( #4800 )
2023-09-26 15:48:59 +02:00
Matthias Seitz
995986e7c0
chore: fix flaky test ( #4729 )
2023-09-22 18:59:58 +00:00
Matthias Seitz
cc576bc869
test: enable geth tests again ( #4544 )
2023-09-11 11:17:51 +00:00
Matthias Seitz
8bfc3d093e
test: ignore another flaky geth test ( #3757 )
2023-07-13 13:56:41 +00:00
Matthias Seitz
526f624e1c
test: tmp ignore another flaky geth test ( #3663 )
2023-07-07 17:50:15 +00:00
Bjerg
7850cc0b8d
test: disable flakey test ( #3486 )
2023-06-29 22:58:15 +00:00
Matthias Seitz
0ec32255e9
test: set --authrpc.port to 0 for Geth instance ( #3476 )
2023-06-29 19:30:15 +00:00
Matthias Seitz
b0df0262e3
test: run geth blacklist test also serial ( #3469 )
2023-06-29 16:09:13 +00:00
Matthias Seitz
d4b9ab0d05
test: fix flaky shutdown test with race condition ( #3043 )
2023-06-06 15:34:30 -07:00
Roman Krasiuk
9b79218c18
fix(p2p): network sync state ( #2699 )
2023-05-16 22:24:40 +02:00
mempirate
93d3bd9dcd
feat(net): fix peer backoffs to not interfere with reputation ( #2422 )
2023-04-27 15:53:12 +02:00
Matthias Seitz
154ece7665
fix: simplify SyncState and fix wrong update ( #2256 )
2023-04-15 01:31:09 +02:00
Bjerg
f60b380a1e
test: allow testing without --all-features ( #1882 )
2023-03-21 15:19:37 +01:00
Dan Cline
7ac06cd29f
feat: use chain specific bootnodes ( #1826 )
2023-03-17 19:28:00 -04:00
Matthias Seitz
7c9b212b4a
chore: relax Arc requirement for provider ( #1429 )
2023-02-17 14:40:20 +01:00
Matthias Seitz
6a2c61f4d9
test(net): add tracing to shutdown test ( #1310 )
2023-02-13 05:34:18 -08:00
Matthias Seitz
3a13a399da
test(net): speedup network tests ( #1269 )
2023-02-10 12:54:09 +01:00
Aurélien
92ff3f961d
add a test on incoming connections disconnect ( #1233 )
2023-02-09 10:54:56 +01:00
Mariano A. Nicolini
dab1f4f497
feat(net): add shutdown network signal ( #1011 )
...
Co-authored-by: lambdaclass-user <github@lambdaclass.com >
2023-02-04 12:28:13 -08:00
Matthias Seitz
5c32ad01c9
refactor: add Peers trait und decouple rpc from NetworkHandle ( #1100 )
2023-01-31 10:32:45 -08:00
Aurélien
115e623ae6
Ability to (de)serialize NetworkConfigBuilder ( #897 )
2023-01-18 11:17:43 +01:00
Dan Cline
55d1db0c1d
feat(network): move test helpers to test-utils mod ( #901 )
2023-01-17 11:18:53 +01:00
Matthias Seitz
18dbcd4e6a
fix: use correct boolean conversion for direction ( #870 )
2023-01-13 15:50:39 +01:00
Matthias Seitz
3f9e7a080a
feat(net): introduce PeersInfo trait ( #860 )
2023-01-13 12:04:39 +01:00
Matthias Seitz
ba3048ceb0
refactor: add network-api crate ( #838 )
2023-01-12 19:39:44 -08:00
Bjerg
20ee1bb1c9
refactor: move cli trace helpers to reth-tracing ( #820 )
2023-01-11 10:20:37 -08:00
Matthias Seitz
5a58554596
test: add debug test for getting headers ( #713 )
2023-01-04 16:07:23 +01:00
Matthias Seitz
5933014fba
test(net): more txpool testing support for network ( #711 )
2023-01-04 14:36:51 +02:00
Ayush
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
Roman Krasiuk
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
Tomás
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
Sanket Shanbhag
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
Sanket Shanbhag
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
Matthias Seitz
f5c9064b44
test(net): add e2e test for already connected ( #538 )
2022-12-20 18:02:16 +01:00
Matthias Seitz
5c1f97cbf7
test: create events handler before interacting with network mngr ( #532 )
2022-12-20 00:38:23 +01:00
Dan Cline
fc11443b97
feat(net): create enr to peerid helper ( #533 )
...
* set network enr dev-dep to 0.7.0 instead of git - ethers and each
other crate uses 0.7.0 and not git
2022-12-19 18:32:19 -05:00
Dan Cline
c53b2bcccb
feat(net): use NodeRecord instead of enode format ( #530 )
...
* feat(eth-wire): add timeouts to tests using Geth
* feat(net): use NodeRecord instead of enode format
* make NodeRecord::new pub instead of pub(crate)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2022-12-19 17:57:02 -05:00
Dan Cline
ac1c0419d2
feat(eth-wire): add timeouts to tests using Geth ( #529 )
2022-12-19 23:35:06 +01:00
Matthias Seitz
516d744bdd
test: run geth tests in serial ( #527 )
2022-12-19 19:12:14 +01:00
Matthias Seitz
aac078a132
fix(net): add already connected check ( #521 )
...
* fix(net): add already connected check
* fix: get events before adding peer
2022-12-19 18:03:10 +01:00