Commit Graph

110 Commits

Author SHA1 Message Date
rakita
c4f80b2997 feat: Store receipts (#1860)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-03-21 12:27:37 +01:00
Dan Cline
b28c40223e chore: move block body to primitives (#1874) 2023-03-20 21:14:23 -07:00
François Garillot
075544e889 refactor: various cleanups (#1833)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-03-18 14:13:09 +01:00
Matthias Seitz
9f00d48402 chore: rearrange impl order (#1796) 2023-03-16 15:22:08 +01:00
Matthias Seitz
15d79cedad chore(deps): upgrade secp256k1+enr (#1715) 2023-03-15 11:15:55 +01:00
Dan Cline
dd1a0b495f chore: remove redundant handshake traces (#1694) 2023-03-10 04:09:34 +01:00
Matthias Seitz
edeedd519e fix(net): enforce soft limit when propagating tx hashes (#1660) 2023-03-07 11:56:05 -05:00
Matthias Seitz
7b71af2409 test: add empty decode buffer check (#1628) 2023-03-04 13:51:35 -07:00
Matthias Seitz
cef4c425fd perf: allocate ping buffer and move to standalone function (#1629) 2023-03-04 01:26:45 +01:00
Matthias Seitz
1bb25ae8b4 style: take ownership of header arg (#1626) 2023-03-03 22:21:38 +01:00
Dan Cline
71bc1451af fix: use correct type for NewPooledTransactionHashes68 (#1548) 2023-02-28 21:20:02 +01:00
Dan Cline
c168ef4433 feat: implement eth handshake disconnects (#1494) 2023-02-22 12:18:12 +01:00
Dan Cline
0fc9f67af8 feat(eth-wire): add td bitlen check in handshake (#1490) 2023-02-21 16:41:51 -05:00
Matthias Seitz
f78da81e1e feat(net): support eth68 transactions (#1482) 2023-02-21 14:34:59 -05:00
Matthias Seitz
f0f8f417d6 chore: add EthVersion::LATEST constant (#1479) 2023-02-21 09:26:30 -05:00
Matthias Seitz
1d2bb1f11d chore: add eth68 to default capabilities (#1475) 2023-02-21 09:26:09 -05:00
Kim, JinSan
c9075920c1 feat(net): support eth/68 (#1361)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-20 19:37:03 -08:00
Matthias Seitz
dba6b24bde chore: clippy fixes and make benches compile again (#1449) 2023-02-18 13:44:06 +01:00
Roman Krasiuk
f979c6c1fb chore: reexport bytes & bump version to 1.4 (#1395) 2023-02-16 10:33:28 -08:00
Roman Krasiuk
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
Dan Cline
d19720aa77 chore: add test for status init (#1388) 2023-02-15 18:20:59 -08:00
Dan Cline
4f1ec0d8d2 fix: use td from current head for status (#1386) 2023-02-15 16:08:37 -08:00
Matthias Seitz
3d60a24f9b perf: reuse genesis hash (#1271) 2023-02-10 14:20:43 +01:00
Dan Cline
c7c76e9a5b feat(primitives): rm RawBlockBody, use Block (#1263) 2023-02-10 00:59:15 +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
Bjerg
02a6aec3fb feat: support time-based forking (#1128) 2023-02-06 12:55:41 -08:00
Georgios Konstantopoulos
1f64d8e9d7 refactor: pull reth/common/rlp up to reth/rlp (#1146) 2023-02-02 13:54:13 -08:00
Georgios Konstantopoulos
0c341ed9ce Revert "feat: support time-based forking" (#1090) 2023-01-30 10:58:55 -08: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
Aurélien
9cdead5646 feat: support time-based forking (#985) 2023-01-27 10:49:54 -05:00
Dan Cline
1d5cce1092 fix(eth-wire): send p2p handshake disconnects (#1047) 2023-01-26 15:01:53 +01: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
Dan Cline
eb11da8adf fix(net): set status, forkfilter from chainspec (#939) 2023-01-20 10:53:01 +01: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
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
joshieDo
42f7936470 fix(rlp): receipts from non legacy transactions returning wrong length (#847) 2023-01-16 10:28:13 -08:00
joshieDo
d50d9bd0fe chore(net): Add proptest roundtrip to rlp types (#829) 2023-01-16 09:50:58 -08:00
Matthias Seitz
18dbcd4e6a fix: use correct boolean conversion for direction (#870) 2023-01-13 15:50:39 +01:00
Matthias Seitz
513df631e3 chore: convert warn,err to debug (#862) 2023-01-13 12:00:57 +01:00
Kim, JinSan
c4bafe809b fix: clippy warnings, or_fun_call and unnecessary_lazy_evaluations (#846) 2023-01-13 11:10:02 +01:00
Andrew Kirillov
5b63437039 chore(net): set_capability_offsets tests and refactors (#763)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-01-12 11:09:21 +01:00
Bjerg
20ee1bb1c9 refactor: move cli trace helpers to reth-tracing (#820) 2023-01-11 10:20:37 -08: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
dafc01dde7 feat(net): add eth66 to default caps (#673) 2023-01-01 18:32:35 +02:00
Matthias Seitz
1ba81191f6 perf(net): backoff on IO error (#633) 2022-12-28 12:43:02 +01:00
Andrew Kirillov
d4d8a8c882 Moves code walkthrough book chapters to docs (#629)
* replaced template blocks with code blocks in stages chapter

* replaced template blocks with code blocks in network chapter

* moved book sections to docs

* fix indentation in recover_signer codeblock

* remove unnecessary TODO comment in network.md
2022-12-28 10:24:39 +01:00
Andrew Kirillov
a51fa4fd63 docs(book): start book chapter for network crate (#445)
* WIP FOR DRAFT PR

* WIP draft, walking through usage in pipeline

* diving deeper into instantiation of NetworkHandle & FetchClient

* WIP network management task & eth requests task done (ish)

* address pr comments: networkmanager as standalone task, networkconfig as main entrypoint for setup

* complete draft of the  crate docs

* restructured, starts w/ expl of

* added more snippets/anchors

* using ignore flag on code blocks, brief explanation of  struct

* typos addressed
2022-12-27 14:53:15 -08:00