-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
140 lines (121 loc) · 8 KB
/
Cargo.toml
File metadata and controls
140 lines (121 loc) · 8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[package]
name = "ghostpool"
version = "0.1.0"
edition = "2024"
authors = ["Wonjae Choi <wonjae@snu.ac.kr>"]
description = "A standalone, DoS-resistant, private mempool using Reth crates"
license = "MIT OR Apache-2.0"
keywords = ["ethereum", "mempool", "zkp", "privacy", "stark"]
categories = ["cryptography", "network-programming"]
[dependencies]
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Reth - Ethereum Node Infrastructure (v1.10.0)
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Storage & State
reth-db = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false }
reth-db-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
reth-provider = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
reth-storage-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false }
reth-storage-errors = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false }
# Networking
reth-network = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
reth-network-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
reth-network-peers = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false }
reth-eth-wire = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
reth-eth-wire-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
reth-discv4 = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
# Primitives & Types
reth-primitives = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false }
reth-primitives-traits = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false }
reth-chainspec = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false }
reth-ethereum-primitives = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false }
reth-node-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
reth-ethereum-engine-primitives = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
# reth-ethereum for convenience types
reth-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false, features = [
"provider",
] }
# Utilities
reth-tasks = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
reth-tokio-util = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0" }
reth-tracing = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", default-features = false }
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Alloy - Ethereum Primitives (Reth-compatible versions)
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
alloy-primitives = { version = "1.5", default-features = false, features = [
"serde",
"rand",
"map-foldhash",
] }
alloy-rlp = { version = "0.3", default-features = false, features = [
"core-net",
] }
alloy-consensus = { version = "1.4", default-features = false }
alloy-eips = { version = "1.4", default-features = false }
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Async Runtime & Concurrency
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
tokio = { version = "1", features = ["full", "tracing"] }
tokio-stream = "0.1"
futures = "0.3"
async-trait = "0.1"
parking_lot = "0.12"
dashmap = "6"
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Cryptography & ZKP
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
sha3 = "0.10"
rand = "0.9"
secp256k1 = { version = "0.30", features = ["global-context", "rand"] }
# Plonky3 backend (uncomment when ready to integrate)
# plonky3 = { git = "https://github.com/Plonky3/Plonky3", features = ["parallel"] }
num_cpus = "1.17"
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Serialization & Data Handling
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
serde = { version = "1", features = ["derive"] }
serde_json = "1"
bytes = "1"
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Observability & Diagnostics
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
metrics = "0.24"
metrics-exporter-prometheus = "0.18"
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Error Handling & Utilities
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
thiserror = "2"
eyre = "0.6"
color-eyre = "0.6"
derive_more = { version = "2", features = ["full"] }
humantime = "2"
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# CLI & Configuration
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
clap = { version = "4", features = ["derive", "env"] }
toml = "0.9"
dirs = "6"
[dev-dependencies]
criterion = { version = "0.8", features = ["async_tokio"] }
proptest = "1"
tempfile = "3"
tokio-test = "0.4"
reth-db = { git = "https://github.com/paradigmxyz/reth", tag = "v1.10.0", features = [
"test-utils",
] }
[[bench]]
name = "pool_benchmarks"
harness = false
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
[features]
default = []