Commit Graph

661 Commits

Author SHA1 Message Date
Francisco Krause Arnim
be70f810e9 test: Modify can_serde_config_test (#1048)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: xqft <estefano.bargas@fing.edu.uy>
2023-01-30 19:48:17 -08:00
Roman Krasiuk
55fc6924b9 feat(download): immediate body response validation (#1080)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-30 15:44:41 -08:00
Georgios Konstantopoulos
0c341ed9ce Revert "feat: support time-based forking" (#1090) 2023-01-30 10:58:55 -08:00
Matthias Seitz
6b795be77f fix: increase minimum request timeout (#1078) 2023-01-30 16:10:50 +01:00
Aurélien
e2ac4d3f3c feat: convert HeadersClient BodiesClient futures into associated types (#1063) 2023-01-30 01:25:15 -08:00
Andrea Simeoni
e63d257f0a docs: consensus engine API (#1083) 2023-01-29 09:26:24 -08:00
Matthias Seitz
e9228227d3 fix: use correct decoded len function for base32 (#1081) 2023-01-28 17:11:40 -05:00
Matthias Seitz
e8d7c051ca fix(dns): ensure branch children are valid hashes (#1069) 2023-01-28 09:45:51 +01:00
Bjerg
87306f2892 ci: ensure docs build (#1073)
Co-authored-by: xqft <estefano.bargas@fing.edu.uy>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-27 18:49:22 +01:00
Bjerg
ba44c1551c feat: pipeline builder (#1017)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-27 18:21:12 +01:00
Matthias Seitz
6b952dd948 fix(net): prevent double reputation report (#1068) 2023-01-27 11:31:16 -05:00
Aurélien
9cdead5646 feat: support time-based forking (#985) 2023-01-27 10:49:54 -05:00
Roman Krasiuk
8cfe24081e fix(download): body download range (#1065) 2023-01-27 06:55:25 -08:00
Roman Krasiuk
4a5a1dbea8 fix(download): header downloader initial state (#1064) 2023-01-27 05:02:44 -08:00
Roman Krasiuk
b5dab614df feat(cli): spawn task downloaders (#1055) 2023-01-26 19:20:13 +02:00
Dan Cline
1d5cce1092 fix(eth-wire): send p2p handshake disconnects (#1047) 2023-01-26 15:01:53 +01:00
Roman Krasiuk
bd540c70ce feat(download): bodies task downloader and header selection fix (#1049) 2023-01-26 04:43:22 -08:00
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