0d97014f4c
docs: mermaid diagram for pipeline ( #67 )
2022-10-14 13:23:13 +02:00
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
84ec30db5b
feat(txpool): add support for mock testing ( #55 )
...
* chore: some cleanup
* refactor(txpool): simplify layers and add docs
* refactor: more cleanup
* refactor: cleanup and simplifications
* feat(txpool): mock test support
* feat(txpool): more mock testing
* chore: rustfmt
* set basefee correctly
2022-10-13 10:44:31 -07:00
6d4e39deef
refactor(txpool): cleanup pass ( #53 )
...
* chore: some cleanup
* refactor(txpool): simplify layers and add docs
* refactor: more cleanup
* refactor: cleanup and simplifications
2022-10-12 18:23:08 +02:00
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
0b1c86df30
docs(txpool): add mermaid diagram ( #46 )
2022-10-11 19:07:16 +02:00
3fed7cfe21
feat(txpool): new txpool design ( #22 )
2022-10-11 17:10:02 +02:00
8eb2ea4152
feat(rpc): add rpc-api client feature ( #33 )
...
* feat(rpc): add rpc-api client feature
* refactor: combine proc macro
* feat: add missing deserialize functions
* add missing derive
2022-10-11 11:56:12 +02:00
60d3c64410
feat(db): mdbx integration & table skeletons ( #15 )
...
* wip
* add table macro
* add simple put get test with Address
* add Env.view and Env.update
* docs
* slightly change the test
* add initial table initialization and placeholders
* lint & some
* replace String with str
* add error.rs
* add docs to encode
* add docs
* clamp
* add source on libmdbx_max_page_size
2022-10-10 12:35:35 -07:00
230e9ef179
feat(p2p): add anchor file for discovery state ( #11 )
...
* feat(p2p): add anchor file for discovery state
* move rustdoc and improve error messages
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* add temp file tests and log drop error
* fix error due to lack of read option
* fix empty and nonexistent file error
* remove redundant new
* replace println with tracing
* show underlying error in custom error message
* chore: cargo fmt
* change AsRef<Path> to &Path
* remove ineffective dedups
* chore: cargo fmt
* switch out Vec<Enr<K>> for HashSet<Enr<K>>
* cargo fmt
* use tempdir instead of of std::env::temp_dir
* refactor anchor to contain &Path instead of File
* change new_from_file to explicitly include logic for opening existing
files, rather than calling out to from_toml
* remove from_toml because new_from_file handles existing files
properly with only a path. It is not possible to obtain a Path from a
File anyways, its only purpose was to accept a File type
* use PathBuf instead of Path
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2022-10-10 13:02:54 -04:00
d7c8b70cc3
feat: add eth-wire ( #20 )
2022-10-10 09:46:02 -07:00
573d343b66
chore: extend consensus with fork choice state ( #27 )
...
* consensus fork choice
* fork_choice -> fork_choice_state
2022-10-09 19:31:57 +02:00
791ee2839f
feat(txpool): initial sketch ( #7 )
2022-10-07 22:00:19 +02:00
a3a7f1317b
feat(primitives): add Chain ( #18 )
...
* this is basically the same as in foundry-config
2022-10-06 20:52:19 +02:00
c749658fd4
feat: pipeline loop ( #10 )
...
* feat: block number in validation error
* feat: wip pipeline execution and unwind
* chore: clippy
* feat: remove dummy db tx in stages crate
* feat: stage progress saving and loading
* test: wip tests
* feat: basic tracing in pipeline
* feat: pipeline event channel
* test: wip more tests
* test: test unwind during run
* chore: readability shuffle
* chore: incl block number in validation error
2022-10-06 18:24:43 +02:00
074f452275
Small skeleton for executor abstraction ( #14 )
2022-10-06 16:01:23 +02:00
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
849e8ae518
feat: add db crate ( #9 )
2022-10-03 16:13:42 +02:00
eeda03a3f3
feat: add missing eth_ functions
2022-10-03 15:06:58 +02:00
7c35e68f8e
Merge branch 'master' into matt/rpc-support
2022-10-03 14:56:38 +02:00
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
ac1ec25435
feat: add rpc types and interface definiton
2022-10-01 19:32:04 +02:00
841c87830c
feat: add transaction request
2022-10-01 14:15:43 +02:00
2717dd643a
feat(rpc): add rpc crates
2022-09-30 20:20:07 +02:00
6ff7cf5a74
feat: add p2p crate ( #4 )
...
* feat: add p2p crate
* move p2p to net subfolder
* add lib.rs and Cargo.toml to net
* remove net crate, use explicit names in workspace
2022-09-30 09:27:52 -07:00
f3b26fd91b
fix typo
2022-09-29 17:58:22 -07:00
4dc32e9f76
feat: add core crate ( #3 )
...
* feat: add core crate
* rename primitives
* Update crates/primitives/Cargo.toml
-.-
Co-authored-by: rakita <rakita@users.noreply.github.com >
Co-authored-by: rakita <rakita@users.noreply.github.com >
2022-09-27 10:19:01 -07:00
57a2b2d1d4
feat: add crate template
2022-09-22 20:16:15 +02:00
978527367f
chore: init
2022-09-19 19:25:12 +02:00