Commit Graph

409 Commits

Author SHA1 Message Date
Ikechukwu Ahiara Marvellous
b82eac4b00 Unify builder argument order (#1276) 2023-02-10 16:58:05 -05:00
Roman Krasiuk
00a49f5ee7 chore(db): remove block numhash key (#1242) 2023-02-10 13:43:00 -08:00
Matthias Seitz
3d60a24f9b perf: reuse genesis hash (#1271) 2023-02-10 14:20:43 +01:00
Matthias Seitz
3a13a399da test(net): speedup network tests (#1269) 2023-02-10 12:54:09 +01:00
Dan Cline
b6c9886b09 chore: document parts of ECIES and MAC (#1260) 2023-02-10 01:14:53 +01:00
Dan Cline
c7c76e9a5b feat(primitives): rm RawBlockBody, use Block (#1263) 2023-02-10 00:59:15 +01:00
Matthias Seitz
d82553cd66 fix(disc): initiate endpoint proof on ping (#1258) 2023-02-09 23:04:33 +01:00
Bjerg
440718288d feat: add reth init and reth import (#877)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-02-09 15:08:10 -05:00
Aurélien
92ff3f961d add a test on incoming connections disconnect (#1233) 2023-02-09 10:54:56 +01:00
Tomás
4df228a87e feat(cli): add persistent peers (#1167)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-08 19:36:06 +01:00
Tomás
1d1d90bd19 feat: optional serde features (#1214)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:52:32 -08:00
Aurélien
8ace2fb0ea feat: gracefully disconnect incoming connections if at capacity (#1138) 2023-02-08 00:28:06 +01:00
Matthias Seitz
df6e3143c3 feat(net): add test-utils and NoopNetwork (#1204) 2023-02-07 10:37:33 -05:00
Tomás
27b07f57f0 fix: add serde feature to secp256k1 dep in discv4 (#1205)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:19:53 +01:00
Roman Krasiuk
ee413da924 chore(download): remove body download range recovery (#1201) 2023-02-07 05:39:25 -08:00
Matthias Seitz
b3de7adae7 fix(rpc): make NodeInfo behave as geth nodeInfo (#1200) 2023-02-06 13:12:02 -08:00
Bjerg
02a6aec3fb feat: support time-based forking (#1128) 2023-02-06 12:55:41 -08:00
Roman Krasiuk
3605e00428 metrics(download): out of order requests metric (#1185) 2023-02-06 19:30:19 +01:00
Matthias Seitz
d99ba4b4e2 chore(net): improve naming for request handling (#1196) 2023-02-06 13:17:50 -05:00
Matthias Seitz
9572ba0b30 perf(net): backoff on incoming if channel at capacity (#1191) 2023-02-06 15:09:56 +01:00
Matthias Seitz
54744b3e6b fix(net): always reset peer state on response (#1179) 2023-02-06 00:53:00 -08:00
Matthias Seitz
c6a7d3637e chore: add disable discovery options (#1182) 2023-02-05 21:37:42 -05:00
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