Commit Graph

1150 Commits

Author SHA1 Message Date
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
ba44c1551c feat: pipeline builder (#1017)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-27 18:21:12 +01:00
9cdead5646 feat: support time-based forking (#985) 2023-01-27 10:49:54 -05:00
4a5a1dbea8 fix(download): header downloader initial state (#1064) 2023-01-27 05:02:44 -08:00
71dc531e68 feat: HistoryStateProvider (#1057) 2023-01-27 11:28:30 +01:00
b5dab614df feat(cli): spawn task downloaders (#1055) 2023-01-26 19:20:13 +02:00
93194e8a0c metrics(download): move header stage metrics to downloader (#1014) 2023-01-25 01:02:38 -08:00
7905100f6d refactor: use dyn Consensus (#1007) 2023-01-24 14:33:48 +01:00
d601895940 feat(download): bodies downloader stream (#905)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-23 10:48:03 -08:00
d32710e1ea chore: make FetchClient Cloneable (#970) 2023-01-22 12:27:06 -08:00
fab1508954 chore: rm unused HeaderClient in Header Stage (#967) 2023-01-22 16:21:30 +01:00
86d543abfa fix(staged-sync): write genesis EIP1559 base fee (#965) 2023-01-21 18:50:52 -08:00
acac82fcb3 refactor: introduce reth-staged-sync crate (#962) 2023-01-21 15:34:49 -08:00
0523fd264d Add withdrawals in Block eth test model (#961) 2023-01-21 13:53:59 -08:00
f2ed6e2bbe chore: add help text for --bootnodes (#948) 2023-01-20 22:25:29 -08:00
ab654dd402 refactor: remove legacy headermetrics describe (#943)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-20 16:35:57 +01:00
b4080a7de5 feat: concurrent headers downloader (#891) 2023-01-20 12:06:06 +01:00
899d011bfd feat: add AccountHashingStage and StorageHashingStage (#756)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-18 10:22:39 -08:00
a8b7a089b6 feat(bin): Format db list & db status subcommands (#667)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-18 09:59:09 -08:00
115e623ae6 Ability to (de)serialize NetworkConfigBuilder (#897) 2023-01-18 11:17:43 +01:00
e9792c1b46 fix: compilation errors due to api breakages
follow up from https://github.com/paradigmxyz/reth/pull/888 merge conflict fix failure
2023-01-17 18:19:00 -08:00
37ca7e0b33 feat: add --nat flag to reth node (#888)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-17 17:53:15 -08:00
74fb28932f fix(node): insert genesis on node startup (#909) 2023-01-17 22:34:24 +01:00
f9de425ad8 refactor: unify all chains confs (#747)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-01-17 07:47:34 -08:00
06be083335 Fix build (#899) 2023-01-16 13:48:25 -08:00
7795bf5392 Add a --bootnodes flag for reth node (#867) 2023-01-16 11:04:07 -08:00
9482c551c5 feat: add a reverse db walker (#841) 2023-01-16 10:27:22 -08:00
3cd8fb5748 refactor: remove db file on db drop command. (#885)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-01-16 17:40:49 +01:00
02632cd888 feat: show possible values for reth stage (#872) 2023-01-13 06:01:59 -08:00
707e488d2c feat: improve eth test runner (#868) 2023-01-13 14:24:18 +01:00
c4bafe809b fix: clippy warnings, or_fun_call and unnecessary_lazy_evaluations (#846) 2023-01-13 11:10:02 +01:00
ba3048ceb0 refactor: add network-api crate (#838) 2023-01-12 19:39:44 -08:00
20ee1bb1c9 refactor: move cli trace helpers to reth-tracing (#820) 2023-01-11 10:20:37 -08:00
531dbdbd29 fix: allow partial configs (#814) 2023-01-11 13:49:56 +01:00
2e95ed4b6e fix: make config serialize as toml (#811) 2023-01-11 13:36:41 +01:00
2e87017686 feat(cli): more reasonable log output (#784) 2023-01-11 11:53:33 +01:00
593a94e426 feat: add drop subcommand for db command (#801) 2023-01-10 22:55:05 +01:00
3bd1458df6 Rename cursor functions (#787) 2023-01-10 20:08:30 +01:00
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
40f30ec951 refactor: clean up SocketAddr value parser (#777)
- Rename the function
- Add more docs explaining the supported formats
- Remove support for empty string (just use an `Option`),
  and remove support for `:` (should be considered a typo)
- Reduce allocations of strings
2023-01-09 17:31:53 +01:00
2b5ee2b18d chore(primitives): use reth::Bytes and implements arbitrary (#776)
* clippy

* add arbitrary to reth Bytes

* clean

* add missing dependency
2023-01-09 12:09:18 +01:00
d296946bf1 add unknown fork spec (#774) 2023-01-09 09:07:47 +01:00
31cb66902e fix: Fix typos (#773) 2023-01-09 01:43:51 +01:00
ca3372909a feat(cli): add more convenient SocketAddr argument parsing (#757) 2023-01-07 02:28:07 +02:00
fe5e3bd0c8 feat(node): allow config'ing trusted nodes from cli (#728) 2023-01-05 11:54:25 +02:00
e069248e78 feat: Stage Tool Execution Stage (#723)
* feat(stage-tool): exec stage

* fix(stage-tool): commit for the full range

* feat: skip unwinding
2023-01-04 23:40:24 +02:00
759ba39311 feat: Stage tool (#716)
* feat: `reth stage` command

* refactor(bin): move init utils to separate file

* feat(bin): scaffold stage command for one stage

* fix: correctly set from/to for stage range

* fix(stage-tool): add unwind before execute to re-exec

otherwise we're double executing stuff

* fix(stage-tool): use max commit threshold avail

* chore: rm unused vars

* fix(genesis-init): take a write tx only if needed

this avoids blocking by accident if we took a write tx expecting
that init_genesis would immediately return the hash

* feat(stage-tool): add bodies stage

Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-01-04 21:53:27 +02:00
973ea48e03 feat(cli): p2p header & body download (#698)
* p2p cli scaffolding

* refactor to fetch client

* body & header download

* p2p trusted opts

* add retries

* notify on retry

* clippy

* display err
2023-01-04 21:33:08 +02:00
ec88f1deef feat(sync): standardize stage control flow checks (#681)
* feat(sync): standardize stage control flow checks

* fix input parameter for test_eth_chain

* clean up & put behind macro

* Update crates/stages/src/stage.rs

Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>

* address comments

Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-01-04 11:03:36 -08:00
8c413ad0a9 trace(download): failed requests (#715) 2023-01-04 19:55:59 +01:00