Commit Graph

387 Commits

Author SHA1 Message Date
Matthias Seitz
75692bc5f3 perf(net): add manual yield point (#1155) 2023-02-04 12:56:25 -08:00
Kim, JinSan
786a0d3e46 chore(net): support multiple eth protocol versions. (#1152) 2023-02-04 12:30:39 -08: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
774f158a99 chore(net): emit message traces (#1153) 2023-02-04 02:01:35 -05:00
Matthias Seitz
cafbb0f14c perf(net): increase default capacity for incoming messages (#1158) 2023-02-04 01:59:01 -05:00
Aurélien
13eea35c63 feat: use MeteredSender for ActiveSession Sender Half (#1150) 2023-02-03 12:43:39 +01:00
Dan Cline
a55e7fd9b5 fix: add bytes to downloader test_utils deps (#1149) 2023-02-02 15:42:08 -08:00
Dan Cline
9d4bd5e004 feat: implement headers for FileClient (#1113) 2023-02-02 17:43:43 -05:00
Georgios Konstantopoulos
e048718ea2 refactor: pull out rpc/ from net/rpc (#1147) 2023-02-02 14:17:26 -08:00
Georgios Konstantopoulos
1f64d8e9d7 refactor: pull reth/common/rlp up to reth/rlp (#1146) 2023-02-02 13:54:13 -08:00
Roman Krasiuk
16b3f1677c fix(download): body downloader flaky test (#1145) 2023-02-02 23:43:51 +02:00
Matthias Seitz
66aa94732b feat(rpc): impl accounts handler (#1135) 2023-02-02 14:00:47 -05:00
Matthias Seitz
c63f5ff942 fix(rpc): add mix hash (#1134) 2023-02-02 04:15:42 -08:00
Georgios Konstantopoulos
1642d77dcd chore: bump aquamarine (#1129) 2023-02-01 15:41:10 -08:00
Matthias Seitz
51ab6fde9f feat(rpc): add EthSigner trait (#1118)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-02-01 12:33:45 -08:00
Matthias Seitz
5ee3cfe507 feat(rpc): impl send_raw_transaction (#1123) 2023-02-01 17:20:48 +01:00
Matthias Seitz
28cb91c6b4 perf(net): use qualified types for headers client future (#1115) 2023-02-01 13:12:48 +01:00
Kim, JinSan
0ea1360cd6 chore(rpc): replace all todo! macros in rpc crate with rpc error responses (#1112) 2023-02-01 10:55:03 +01:00
Dan Cline
a588f79023 feat: introduce FileClient for importing blocks (#1111) 2023-02-01 02:51:15 -05:00
Aurélien
0149bde8fb Rename downloaders (#1108)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-31 16:44:29 -08:00
Matthias Seitz
ae771d291d perf(net): add protocol breach request timeout (#1099) 2023-01-31 15:20:44 -08:00
Aurélien
c5bc272057 fix: report reputation changes correctly (#1086)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-01-31 11:05:13 -08:00
Matthias Seitz
5c32ad01c9 refactor: add Peers trait und decouple rpc from NetworkHandle (#1100) 2023-01-31 10:32:45 -08:00
Roman Krasiuk
5da6b07d9e chore(consensus): crate refactor (#1094) 2023-01-31 10:29:26 -08:00
Roman Krasiuk
e0dbcaece3 feat(download): prioritize requests for missing bodies (#1095) 2023-01-31 02:05:41 -08:00
Martin Paulucci
b72c9bc9fe refactor(rpc): standardize type for gas price/fees as U128 (#1033)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-30 19:53:54 -08:00
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