Commit Graph

7 Commits

Author SHA1 Message Date
a8c1eaf140 feat: simplified unwind priority (#45) 2022-10-11 18:52:05 +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
a759201b40 refactor(stages): split Pipeline::run (#30) 2022-10-10 15:52:23 +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
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
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