refactor: introduce reth-staged-sync crate (#962)

This commit is contained in:
Georgios Konstantopoulos
2023-01-21 15:34:49 -08:00
committed by GitHub
parent 17ed0955df
commit acac82fcb3
16 changed files with 65 additions and 55 deletions

38
Cargo.lock generated
View File

@@ -3970,7 +3970,6 @@ dependencies = [
"metrics",
"metrics-exporter-prometheus",
"metrics-util",
"reth-cli-utils",
"reth-consensus",
"reth-db",
"reth-discv4",
@@ -3983,6 +3982,7 @@ dependencies = [
"reth-primitives",
"reth-provider",
"reth-rlp",
"reth-staged-sync",
"reth-stages",
"reth-tracing",
"reth-transaction-pool",
@@ -3998,19 +3998,6 @@ dependencies = [
"walkdir",
]
[[package]]
name = "reth-cli-utils"
version = "0.1.0"
dependencies = [
"eyre",
"reth-db",
"reth-primitives",
"serde_json",
"shellexpand",
"tracing",
"walkdir",
]
[[package]]
name = "reth-codecs"
version = "0.1.0"
@@ -4570,6 +4557,25 @@ dependencies = [
"serde_json",
]
[[package]]
name = "reth-staged-sync"
version = "0.1.0"
dependencies = [
"confy",
"eyre",
"reth-db",
"reth-discv4",
"reth-net-nat",
"reth-network",
"reth-primitives",
"reth-provider",
"serde",
"serde_json",
"shellexpand",
"tracing",
"walkdir",
]
[[package]]
name = "reth-stages"
version = "0.1.0"
@@ -5251,9 +5257,9 @@ dependencies = [
[[package]]
name = "shellexpand"
version = "2.1.2"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ccc8076840c4da029af4f87e4e8daeb0fca6b87bbb02e10cb60b791450e11e4"
checksum = "dd1c7ddea665294d484c39fd0c0d2b7e35bbfe10035c5fe1854741a57f6880e1"
dependencies = [
"dirs",
]