DaniPopes
f137ca8477
chore: remove some more usages of BytesMut ( #9025 )
2024-06-22 08:21:45 +00:00
Matthias Seitz
a96884d670
chore(ecies): replace reth-primitives with alloy-primitives ( #8812 )
2024-06-13 21:19:49 +00:00
Matthias Seitz
be12177a2f
chore: rm HasRemoteAddr trait ( #8809 )
2024-06-13 20:46:30 +00:00
Matthias Seitz
8bb1270d54
chore: remove educe dependency ( #8810 )
2024-06-13 20:45:49 +00:00
Matthias Seitz
2852893a7d
chore: rename network-types to network-peers ( #8699 )
2024-06-09 13:13:46 +00:00
Thomas Coratger
7c17c6e469
add doc_markdown clippy lint ( #8552 )
...
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com >
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2024-06-03 13:21:45 +00:00
Thomas Coratger
3d3f52b2a4
Add missing_const_for_fn clippy lint ( #8498 )
2024-05-30 09:50:03 +00:00
Thomas Coratger
19c529e8df
add use_self clippy lint ( #8325 )
2024-05-29 13:14:14 +00:00
Matthias Seitz
4250c33da1
chore: clippy happy ( #8362 )
...
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com >
2024-05-23 13:24:20 +02:00
Andrzej Sulkowski
cc4a418ddf
refactor: extract peer types to net/types ( #7912 )
...
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2024-04-27 04:18:59 +00:00
DaniPopes
e2e5201d8a
chore(deps): bump enr, discv5, secp256k1 ( #7000 )
...
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com >
2024-04-25 19:50:38 +00:00
Delweng
7a593882e1
chore(github): use codespell to inspect and correct spelling issues ( #7775 )
...
Signed-off-by: jsvisa <delweng@gmail.com >
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2024-04-23 21:32:59 +00:00
Dan Cline
c13d7da68d
chore: move pk2id and id2pk to primitives ( #7382 )
2024-03-29 21:43:52 +00:00
0xAtreides
4d798c7b65
feature: Add timeouts for handshake functions ( #7295 )
2024-03-26 21:34:32 +00:00
Dan Cline
82ec589dee
fix: panic conditions for concat kdf in ecies ( #7171 )
2024-03-16 07:33:26 +00:00
Dan Cline
eb6828350d
fix: check that data is large enough to fit header and mac ( #7118 )
2024-03-12 16:09:15 +00:00
Dan Cline
f75bebd8d5
fix: use checked math for read_body ( #7117 )
2024-03-12 16:01:36 +00:00
Dan Cline
074747a419
fix: refactor ecies message parsing to check bounds ( #7108 )
2024-03-12 15:00:18 +00:00
Dan Cline
99711550d8
fix: use concat_kdf crate instead of hand rolled NIST SP 800-56A KDF ( #7106 )
2024-03-12 14:52:46 +00:00
back
5e2cac442f
0x/rm unused dep ( #6899 )
...
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com >
2024-03-01 11:34:31 +00:00
Dan Cline
5fe367801f
chore: cleanup ECIESError ( #6687 )
2024-02-20 07:24:37 +00:00
Dan Cline
79452eadaf
chore: make clippy happy ( #6666 )
2024-02-19 06:31:47 +00:00
Thomas Coratger
039a696966
Solve some clippy stuffs ( #6247 )
2024-01-26 17:13:58 +00:00
Thomas Coratger
9aa44093cf
lints: move top-level lints to [workspace.lints] manifest table ( #5935 )
2024-01-04 13:38:02 +00:00
DaniPopes
b1b059fe9b
chore: clean up lints ( #5881 )
2023-12-28 16:23:50 +00:00
DaniPopes
e341f47a16
fmt: add a space between inner doc-comments and following items ( #5880 )
2023-12-28 15:52:20 +00:00
Matthias Seitz
c37f187eed
chore(deps): bump alloy 0.5 ( #5557 )
2023-11-24 11:48:21 +00:00
Alexey Shekhirin
9ca44efe9f
feat(bin): separate journald and file log filters, log debug to file by default ( #5197 )
2023-10-31 11:08:15 +00:00
DaniPopes
e05dba69ce
chore: rewrite all error messages for consistency ( #5176 )
...
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
2023-10-25 20:12:03 +00:00
DaniPopes
5f9a917fb1
feat: Alloy migration ( #4737 )
...
Co-authored-by: Alessandro Mazza <121622391+alessandromazza98@users.noreply.github.com >
Co-authored-by: Supernovahs.eth <91280922+supernovahs@users.noreply.github.com >
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me >
2023-09-28 15:55:39 +00:00
Alexey Shekhirin
b85aa94033
docs: paradigmxzy -> paradigmxyz ( #4837 )
2023-09-28 14:27:30 +00:00
DaniPopes
8f9d2908ca
chore: add and fix more lints, improve docs ( #4765 )
2023-09-25 15:46:46 +00:00
Léo Vincent
0096739dbb
doc: add reth logo to docs ( #3317 )
...
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me >
2023-06-26 15:41:11 +00:00
Matthias Seitz
01041b404f
test: use free port ( #3036 )
2023-06-06 18:22:11 +00:00
Matthias Seitz
47b9738ede
chore: fix some typos ( #2025 )
2023-03-29 14:49:50 +02:00
Roman Krasiuk
f979c6c1fb
chore: reexport bytes & bump version to 1.4 ( #1395 )
2023-02-16 10:33:28 -08:00
Dan Cline
b6c9886b09
chore: document parts of ECIES and MAC ( #1260 )
2023-02-10 01:14:53 +01:00
Kim, JinSan
c4bafe809b
fix: clippy warnings, or_fun_call and unnecessary_lazy_evaluations ( #846 )
2023-01-13 11:10:02 +01:00
Sanket Shanbhag
d98f9fe507
move HasRemoteAddr trait to reth-net-common ( #775 )
2023-01-09 10:43:46 +02:00
Dimitris Apostolou
31cb66902e
fix: Fix typos ( #773 )
2023-01-09 01:43:51 +01:00
joshieDo
6407b5087e
chore: use B160, B256 and U256 coming from revm and ruint ( #676 )
...
* use B256, B160 and U256 from revm
* fix U256 from_str
* use U256::ZERO
* use temporary commit for revm and interpreter
* more U256::ZERO
* more changes for revm/ruint types
* clippy
* change revm and revm-interpreter repo
* remove H160 wrap
* minor cleanup
* remove unused
* fix MIN_PROTOCOL_BASE_FEE
2023-01-04 11:11:48 +02:00
Matthias Seitz
3a67809cb7
test: test ack encoding ( #699 )
2023-01-03 18:09:00 +02:00
Matthias Seitz
a2849cd81e
chore(net): improve ecies error for unreadable stream ( #514 )
...
* chore(net): improve ecies error for unreadable stream
* Update crates/net/ecies/src/error.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2022-12-19 19:07:19 +01:00
Matthias Seitz
35a41a29f9
style: unify slice access and bytes ( #437 )
2022-12-14 16:26:08 +02:00
Georgios Konstantopoulos
d5d876b286
fix(headers-stage): do not exit stage on downloader error ( #439 )
...
* fix: return ctrl to pipeline on header dl error
* chore: adjust log levels
* ecies: improve tag check error granularity
* chore: instrument read_ack/read_auth
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me >
2022-12-14 16:25:54 +02:00
Matthias Seitz
4643f840d7
chore(deps): get rid of unused deps ( #339 )
2022-12-06 18:02:04 -08:00
Matthias Seitz
5e37ef8226
style(net): use pin_project on eceis stream ( #338 )
2022-12-06 18:02:04 -08:00
Matthias Seitz
0b8d50127c
refactor(net): box ecies error ( #337 )
2022-12-06 18:02:04 -08:00
Dan Cline
75879b2027
chore(ecies): remove body size check ( #328 )
...
* remove body size check
* cargo fmt
2022-12-06 18:02:04 -08:00
Bjerg
92a7818512
feat: bodies stage ( #190 )
...
* chore: clean up `.gitignore`
* fix: make RO cursors `Send + Sync`
* feat(wip): bodies stage
* driveby: improve docs
* chore: don't panic if we're the first stage
* chore: use `Vec` for ommers
* feat: error handling in bodies downloader
* chore: remove stale comment
* chore: pascal-case stage id
* refactor: remove unused new fns
* refactor: distinguish downloaders with prefix
* refactor: move downloader errs to own module
* refactor: `stream_bodies` -> `bodies_stream`
* test: fix borked imports in header stage
* test: clean up header tests
* test: add basic body stage tests
* test: add 2 more body stage test skeletons
* test: move generator test utils to own module
* refactor: move proof functions to primitives crate
* feat: add block generator test utils
* test: more body stage tests
* chore: fix typo (`Cannonical*` -> `Canonical`)
* docs: document `bodies_to_download`
* test: more body stage tests
* test: more body stage tests
* refactor: clean up body stage tests a bit
* test: fix broken tests
* refactor: clean up body stage tests
* test: more body stage tests
2022-11-15 08:49:11 +01:00