Matthias Seitz
2fd2825e24
feat: add Payload build abstraction ( #2143 )
2023-04-06 14:48:31 -04:00
rakita
89c525f9c9
chore: bump revm to v3.1.0 ( #2113 )
2023-04-04 16:50:09 +02:00
Matthias Seitz
7576ee33f0
feat: Add autoseal consensus and downloaders ( #1880 )
...
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com >
2023-03-31 11:51:52 -07:00
Matthias Seitz
ef51f566fe
chore(deps): bump revm and use new utils ( #1816 )
2023-03-17 14:16:09 +01:00
Matthias Seitz
1a317f20e4
refactor: split consensus crate ( #1814 )
2023-03-17 13:20:00 +01:00
Roman Krasiuk
8ba0a190b8
fix(executor): preserve existing account state ( #1691 )
2023-03-09 09:14:36 -08:00
Roman Krasiuk
e07e9532c0
dep(revm): update ( #1684 )
2023-03-09 13:00:46 +01:00
Roman Krasiuk
d0b1e0aa02
fix(dep): update and lock revm ( #1681 )
2023-03-09 11:43:56 +01:00
Bjerg
57e36223f7
feat: add debug-fast profile ( #1670 )
2023-03-08 14:12:09 +01:00
Dan Cline
7d6563dee5
chore: patch ruint for quantity serialization ( #1554 )
2023-02-24 17:18:01 -08:00
Matthias Seitz
6d138daa11
feat: add revm-inspectors crate and accesslist inspector ( #1529 )
2023-02-23 17:06:15 -08:00
Matthias Seitz
8299ca6fd6
feat: add reth-revm crate ( #1526 )
2023-02-23 14:16:42 +01:00
Matthias Seitz
0cf27ce8e8
fix: patch ruint with quantity fix ( #1518 )
2023-02-22 14:24:45 -08:00
Roman Krasiuk
4bdbcf346e
feat(cli): enable shanghai ethereum tests ( #1416 )
2023-02-17 16:57:14 +01:00
Matthias Seitz
47989392c1
chore: exclude crate-template ( #1434 )
2023-02-17 16:21:55 +01: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
5da6b07d9e
chore(consensus): crate refactor ( #1094 )
2023-01-31 10:29:26 -08:00
Georgios Konstantopoulos
acac82fcb3
refactor: introduce reth-staged-sync crate ( #962 )
2023-01-21 15:34:49 -08:00
Andrew Kirillov
5d45325e43
feat(net): Metered senders ( #726 )
...
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2023-01-17 17:41:05 -08:00
Matthias Seitz
ba3048ceb0
refactor: add network-api crate ( #838 )
2023-01-12 19:39:44 -08:00
David Kulman
515590faa8
refactor: move cli utils to new reth-cli-utils crate ( #790 )
...
* Move bin/src/util to reth-cli-utils
* Add reth-cli-utils to workspace members
* Fix imports in bin/src
* Create reth-cli-utils crate
* Add utils import
2023-01-10 01:13:41 +01:00
Matthias Seitz
2b3dfe93a7
feat(dns): add dns discovery service ( #768 )
...
* feat(dns): add dns discovery service
* feat: add entry types
* add codec impls
* resolve basics
* Update crates/net/dns/src/tree.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2023-01-09 18:09:09 +01:00
Matthias Seitz
c3432bc284
feat(rpc): add rpc builder support ( #635 )
2022-12-28 15:55:30 +02:00
Roman Krasiuk
663efa8d2a
feat(metrics): Metrics derive macro ( #592 )
...
* feat(metrics): `Metrics` derive macro
* rename metrics to metrics-derive
* use fully qualified fmt path
* metric vec with capacity
* favor metrics over simple scope attr, simplify code
* pull metric description from doc comment
* rm debug log
* add more docs and sample usage
* link to metrics macros
* add tests for metrics derive macro
* clippy
* simplify path comparison
* cleanup
* remove unused dep
* rename stage metrics
2022-12-26 14:27:24 -08:00
Matthias Seitz
3a07eb930f
feat(net): add nat external ip crate ( #605 )
2022-12-25 18:22:31 +02:00
Matthias Seitz
43f6bb9127
feat(net): integrate discovery banlist ( #442 )
...
* feat(net): integrate discovery banlist
* fix typos
2022-12-14 19:47:11 +02:00
Roman Krasiuk
5057e8ec0a
feat(p2p): refactor downloaders and add peer id to the result ( #410 )
...
* feat(p2p): refactor downloaders and add peer id to the result
* rm unused import
* fix tests
* clean up deps
* Update crates/interfaces/src/p2p/error.rs
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
* add split fn
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de >
2022-12-13 17:14:45 +01:00
Dan Cline
705e6f79dc
feat(p2p): remove p2p crate ( #397 )
2022-12-13 08:28:38 +01:00
rakita
e014eaad33
feat(db): Refactor storage libraries ( #371 )
2022-12-09 23:14:07 -08:00
Matthias Seitz
f489ec51f0
feat: add TaskManager and Executor types ( #357 )
2022-12-08 09:15:48 -08:00
Matthias Seitz
89ffaf541b
feat: add tracing crate ( #236 )
2022-11-22 20:48:32 +01: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
Matthias Seitz
fd6a7cb628
WIP: feat: ipc support ( #144 )
...
* feat: ipc support
* copy futures
* feat: port ipc implementation
* cleanup
* add test
* fix clippy
* add request test
2022-11-10 19:47:00 +01:00
Matthias Seitz
b7cdfbf4f9
feat(net): network scaffolding ( #110 )
...
* feat(net): network scaffolding
2022-11-07 09:27:08 +01:00
rakita
ac2f3fcd8a
feat: Consensus crate and verification functions. ( #152 )
...
* wip executor
* wip
* Cleanup added some checks and structure to executor
* adding additional block/header checks
* add basefee calculation and check
* some cleanup
* Sanity check test
* Test for sanity check
* move verification to consensus crate
* cleanup
* Better Error handling
2022-11-02 12:59:51 +01:00
Matthias Seitz
ce64fefd78
feat(net): add discv4 crate ( #113 )
...
* port kad
* feat: port kad bucket
* feat: add discv4
* chore: rustfmt
* cargo update
* just reuse discv5 table
* test: add rlp tests
* message encoding
* feat: impl codec roundtrip testing
* more work in message handling
* implement ping
* feat: impl commands
* cleanup
* more cleanup
* trim config
* more docs
* feat: implement recursive lookup
* docs
* cleanup config
* feat: implement update stream
* chore: config cleanup
* docs: add crate docs
* feat: more testing
* fix deny
* clarify ring
* docs: more docs
* use discv5 master
* docs: address review and add comments
* update readme
* rustmft
* chore(clippy): make clippy happy
2022-10-25 14:23:24 +02:00
rakita
5c55c57c5e
feat(db): switch to reth-libmdbx-rs, bump reth-mdbx-sys to 0.12.1 ( #133 )
...
* feat(db): Add mdbx-rs apache licenced code 55e234
* feat(db): replace mdbx with reth-mdbx, metadata changes
* chore(db): bump mdbx-sys to 0.12.1
2022-10-25 02:50:02 -07:00
Georgios Konstantopoulos
15bd88e637
headers(part2) - feat: add Downloader trait and test utils ( #118 )
...
* feat(interfaces): implement header client traits
* feat: add downloader trait implementer
* feat: use explicit error type instead of ok(false)
* feat: add constructor to HeaderLocked
* test: scaffold mock consensus, downloader and headersclient helpers
* test: implement test consensus
* test: implement test headers client
* refactor: cleanup download headers
* chore: fix lint
* s/test_utils/test_helpers
* headers(part 3) feat: implement Linear downloader (#119 )
* feat: add headers downloaders crate
* feat: more scaffolding
* interfaces: generalize retryable erros
* feat: implement linear downloader
* fix linear downloader tests & add builder
* extend & reverse
* feat: linear downloader generics behind arc and reversed return order (#120 )
* put client & consensus behind arc and return headers in rev
* cleanup
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
* extract test_utils
* cargo fmt
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
2022-10-24 04:56:43 -07:00
Dan Cline
5dfe5ac29b
feat(net): add Framed ECIES implementation ( #80 )
...
* feat(net): add ecies crate
* cargo fmt
* add hex-literal and proptest to dev-dependencies
* adds std feature to reth-rlp
* document util
* document more
* chore: allow missing docs in ecies/algorith.rs
* feat(ecies): improve error handling
remove anyhow and strictly type all errors
* refactor(ecies): movem ingress/egress to lib.rs
* chore(ecies): allow missing docs in mac
* chore(ecies): cleanup utils
* refactor(ecies): move ECIES Codec to separate file
* refactor(ecies): rename proto to stream
* add test scaffold
* implement server/client read/write test
* chore: clippy / fmt
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2022-10-15 18:20:17 -07:00
rakita
92e64ed71f
include apache licenced fastrlp as reth-rlp ( #63 )
...
* include apache licenced fastrlp as reth-rlp
* fmt
* Include LICENCE and README for reth-rlp
2022-10-14 12:43:21 +02:00
rakita
ae5935e6b2
feat: reth binary and parsing of eth chain tests ( #38 )
...
* Scaffolding for reth test binary. wip for blockchain tests
* wip models for chain json tests
* reth binary and chain test
* fmt,clippy
* Update bin/reth/src/lib.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/lib.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/mod.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/mod.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/mod.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/models.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/models.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/mod.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/runner.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Move JsonU256 to primitives
* fmt
* Use eyre
* nits
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2022-10-12 17:43:01 +02:00
Dan Cline
d7c8b70cc3
feat: add eth-wire ( #20 )
2022-10-10 09:46:02 -07:00
Matthias Seitz
791ee2839f
feat(txpool): initial sketch ( #7 )
2022-10-07 22:00:19 +02:00
rakita
074f452275
Small skeleton for executor abstraction ( #14 )
2022-10-06 16:01:23 +02:00
rakita
bc30cbce61
Skeleton primitives and interface crate ( #13 )
...
* wip interface primitives
* wip
* Integrate it inside rpc- crates
* fmt
* move tx to mod.rs
* Add interfaces, executor to toml
* Added nits, comments fix
2022-10-06 14:48:57 +02:00
Bjerg
849e8ae518
feat: add db crate ( #9 )
2022-10-03 16:13:42 +02:00
Matthias Seitz
eeda03a3f3
feat: add missing eth_ functions
2022-10-03 15:06:58 +02:00
Matthias Seitz
7c35e68f8e
Merge branch 'master' into matt/rpc-support
2022-10-03 14:56:38 +02:00
Bjerg
6868dda544
feat: basic staged sync crate ( #6 )
...
* feat: basic staged sync crate
* refactor: rename to `reth-stages`
* feat: remove eyre
* feat: impl `Error` for `StageError`
* chore: bump cargo lock
* chore: nits
* docs: clarify unwind
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2022-10-03 14:40:50 +02:00