Commit Graph

344 Commits

Author SHA1 Message Date
Francisco Krause Arnim
d6bd075e7b doc: Fix broken doc-test on task.rs (#1042)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-25 21:23:48 +01:00
Estéfano Bargas
d55b389754 test: added unban_peer() test (#1039)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-25 17:08:32 +01:00
Roman Krasiuk
c23a2215b0 chore(db): restructure providers crate (#1003) 2023-01-25 04:55:34 -08:00
Matthias Seitz
89ed9c8c41 test: print request error (#1032) 2023-01-25 04:28:33 -08:00
Aurélien
0666e29427 feat: move ReputationChangeKind to network-api (#1035) 2023-01-25 13:17:26 +01:00
Aurélien
e493720f64 feat: integrate chain_id and protocol_version in NetworkInfo (#1029) 2023-01-25 13:08:40 +01:00
Matthias Seitz
6c37b0aa1b feat: add task header downloader (#958) 2023-01-25 12:32:28 +01:00
Roman Krasiuk
d08aa94f5d feat(download): bodies downloader metrics (#1027) 2023-01-25 02:59:12 -08:00
Roman Krasiuk
c5cd64bb0e chore(download): cleanup bodies downloader errors (#1026) 2023-01-25 02:05:24 -08:00
Roman Krasiuk
93194e8a0c metrics(download): move header stage metrics to downloader (#1014) 2023-01-25 01:02:38 -08:00
Tomás
2ae88b01df test: fix failing doctests (#1024)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-25 04:04:48 +01:00
Matthias Seitz
a1ad688c52 docs(dns): add note about attempts (#1015) 2023-01-24 17:10:22 +01:00
Roman Krasiuk
01cb6c07df nit: add must_use to ConcurrentDownloader (#1010) 2023-01-24 06:24:15 -08:00
Roman Krasiuk
e195e1d14c chore(download): propagate fatal bodies db error (#1008) 2023-01-24 06:17:53 -08:00
Aurélien
1c93b2c528 feat: refactoring get_status() to return NetworkStatus (#997) 2023-01-24 14:38:21 +01:00
Bjerg
7905100f6d refactor: use dyn Consensus (#1007) 2023-01-24 14:33:48 +01:00
Matthias Seitz
a24048a237 refactor: deprecate downloader trait (#959) 2023-01-24 13:38:11 +01:00
Matthias Seitz
167aa60ed2 chore(deps): rm unused deps in downloaders (#1004) 2023-01-24 12:14:50 +01:00
TurboFish
2ed8128e63 add TraceApi impl placeholder, todo for functions implemention (#998)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-01-24 11:31:24 +01:00
TurboFish
1e94131cf8 add DebugApi struct, functions to be implemented (#1000) 2023-01-24 11:19:28 +01:00
Aurélien
6f047a5de0 feat: add Web3 namespace RPC handler (#990) 2023-01-23 22:53:15 +01:00
Matthias Seitz
865367fe46 feat(rpc): add default to_rpc_result function (#993) 2023-01-23 22:13:13 +01:00
Roman Krasiuk
d601895940 feat(download): bodies downloader stream (#905)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-23 10:48:03 -08:00
Matthias Seitz
5a11b58ad2 refactor: replace NetworkHandle with trait in NetApi (#979) 2023-01-23 15:59:37 +01:00
Matthias Seitz
9bc9cdbbee feat(rpc): add impl_to_rpc_result macro (#986) 2023-01-23 15:27:21 +01:00
mempirate
681f8a601a fix(net): export PeerInfo fields and derive Clone (#977) 2023-01-23 13:40:01 +01:00
mempirate
c326186397 fix(net): export PeerInfo struct (#973) 2023-01-23 02:16:15 -08:00
Matthias Seitz
d32710e1ea chore: make FetchClient Cloneable (#970) 2023-01-22 12:27:06 -08:00
Ikechukwu Ahiara Marvellous
a331b54bb0 Create Network variant in reth_interfaces::Error (#950) 2023-01-22 20:59:50 +01:00
Matthias Seitz
009d2056f9 fix: mark response correctly (#966) 2023-01-22 16:48:04 +01:00
Aurélien
583426bb95 Prevent follow-up requests if a response is likely bad (#946) 2023-01-21 20:13:20 -08:00
Matthias Seitz
72cc736cb5 feat(rpc): add missing parts for rpc builder pipeline (#954) 2023-01-21 20:06:04 -08:00
Matthias Seitz
3c64c94616 perf: send request retries with high priority (#955) 2023-01-21 15:25:40 +01:00
Matthias Seitz
e4bf94c3cb chore(net): reduce log level for outgoing conn errors (#941) 2023-01-20 11:24:06 -05:00
Ikechukwu Ahiara Marvellous
ac9f26fcab Extend HeadersClient, BodiesClient with a priority argument (#935)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-01-20 14:20:46 +01:00
Matthias Seitz
b4080a7de5 feat: concurrent headers downloader (#891) 2023-01-20 12:06:06 +01:00
Dan Cline
eb11da8adf fix(net): set status, forkfilter from chainspec (#939) 2023-01-20 10:53:01 +01:00
Enrique Ortiz
cfef666886 Network: Extend NetworkInfo trait with NetworkStatus (#923) 2023-01-19 14:43:51 -05:00
Ikechukwu Ahiara Marvellous
54e9b12e65 Send pings in P2PStream.poll_ready (#931) 2023-01-19 12:47:23 +01:00
Georgios Konstantopoulos
d0e3741136 impl From for Status/SealedHeader (#927) 2023-01-18 19:23:02 -08:00
Matthias Seitz
aadc21cf30 fix(net): reset backoff counter on graceful disconnect (#918) 2023-01-18 11:43:26 -05:00
Matthias Seitz
a1dfafe331 docs: additional response handling docs (#917) 2023-01-18 11:33:56 -05:00
Matthias Seitz
7db6791d9d perf: tighten reputation change units (#916) 2023-01-18 11:27:14 -05:00
Aurélien
115e623ae6 Ability to (de)serialize NetworkConfigBuilder (#897) 2023-01-18 11:17:43 +01:00
Georgios Konstantopoulos
e9792c1b46 fix: compilation errors due to api breakages
follow up from https://github.com/paradigmxyz/reth/pull/888 merge conflict fix failure
2023-01-17 18:19:00 -08:00
Enrique Ortiz
dba3b30a42 feat(rpc): Add admin_nodeInfo to get the local node record (#880)
Co-authored-by: Enrique Ortiz <evalir@users.noreply.github.com>
2023-01-17 17:50:09 -08:00
Andrew Kirillov
5d45325e43 feat(net): Metered senders (#726)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-01-17 17:41:05 -08:00
Dan Cline
b07e5be040 chore(eth-wire): trace handshake messages (#910) 2023-01-18 01:07:44 +01:00
Aurélien
f9de425ad8 refactor: unify all chains confs (#747)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-01-17 07:47:34 -08:00
Dan Cline
55d1db0c1d feat(network): move test helpers to test-utils mod (#901) 2023-01-17 11:18:53 +01:00