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
bce14b22ce
chore: staged sync cleanup ( #34 )
...
* docs: expand on unwinding
* chore: commit inside run_loop / cleanup run
* chore: instrument unwind via span to make more readable
* chore: address review comments
2022-10-10 19:48:20 -07:00
c41c6b99a6
db: supply table as Type not as fn param ( #32 )
2022-10-10 12:52:42 -07: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
a759201b40
refactor(stages): split Pipeline::run ( #30 )
2022-10-10 15:52:23 +02:00
15479457ab
chore: nuke src ( #31 )
2022-10-10 15:35:53 +02:00
72968d758b
refactor: pipeline refactor ( #23 )
...
* refactor: split stage crate into modules
* refactor: clean up pipeline events
* refactor: internal fn for executing single stage
* refactor: pipeline error
* refactor: move errors to own module
* refactor: misc cleanup
* test: add tests for `opt::max` and `opt::min`
* chore: db errors (#26 )
* refactor: replace ext trait with wrapper type
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
2022-10-10 05:49:45 +02:00
ded56d45ec
ci: run against main
...
previously was against master but we changed the default branch
2022-10-09 12:39:33 -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
401cd3ec34
chore: clippy ( #25 )
2022-10-09 10:30:46 +02:00
ffdc374edb
chore: ignore .idea ( #24 )
2022-10-09 10:07:59 +02:00
ae4c31a836
add readme & license ( #21 )
...
* add readme
* add license
* fix readme
2022-10-07 18:20:29 -07:00
791ee2839f
feat(txpool): initial sketch ( #7 )
2022-10-07 22:00:19 +02:00
95ed994fd1
Transaction type and some wrap over revm ( #19 )
...
* Transaction and wip db binding
* simple revm wrapper
* nits and small sig change
2022-10-07 13:56:11 +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
8317cd2b63
chore: use primitives::BlockNumber ( #17 )
2022-10-06 19:30:32 +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
321683679a
chore: remove missing debug ( #16 )
2022-10-06 15:17:06 +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
10103da40c
Merge pull request #8 from foundry-rs/matt/rpc-support
...
feat(rpc): add rpc types and interface defintions
2022-10-03 16:01:10 +02:00
14d0b6ac4e
fix: make everything compile again
2022-10-03 15:36:13 +02:00
9251b286d0
feat: add engine api types and interface
2022-10-03 15:31:08 +02:00
8b7bef4f48
feat: add debug functions
2022-10-03 15:18:22 +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
5e0315cce0
move crates into net
2022-10-03 13:40:26 +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
1e07fb6991
ci: move gh workflow to correct folder ( #5 )
...
* ci: move gh workflow to correct folder
* ci: name workflow
* ci: use nextest
2022-09-29 16:52:20 +02: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
6f973a60fc
Merge pull request #2 from foundry-rs/matt/add-crate-template
...
feat: add crate template
2022-09-26 11:15:14 -07:00
57a2b2d1d4
feat: add crate template
2022-09-22 20:16:15 +02:00
80ff87915c
chore: add rustfmt.toml ( #1 )
2022-09-21 23:58:11 +02:00
978527367f
chore: init
2022-09-19 19:25:12 +02:00