Commit e7d84aa
committed
Remove dead code: ~21,100 lines of unused P2P, legacy challenge, and jobs code
Major removals:
- crates/challenge-runtime/ (entire crate - unused epoch sync)
- crates/network/ (entire P2P networking crate - previously removed)
- platform-server: rule_engine.rs, challenge_proxy.rs, api/jobs.rs, api/llm.rs
- platform-server: 20+ unused db query functions, AuditLogger system
- challenge-sdk: P2P modules (p2p.rs, distributed_storage.rs, etc.)
- distributed-db: p2p_sync.rs
Cleaned:
- Unused struct fields in csudo, data_api, websocket
- Dead auth functions (require_auth, require_validator, require_owner)
- Unused Cargo.toml dependencies in platform-server
All code compiles cleanly with cargo check.1 parent 94682da commit e7d84aa
File tree
70 files changed
+196
-21309
lines changed- bins
- csudo/src
- platform
- src
- validator-node
- src
- crates
- challenge-runtime
- src
- challenge-sdk
- src
- distributed-db
- src
- network
- src
- platform-server
- src
- api
- db
- models
- websocket
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+196
-21309
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
54 | 52 | | |
55 | 53 | | |
56 | 54 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 55 | | |
61 | 56 | | |
62 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | 164 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 165 | | |
176 | 166 | | |
177 | 167 | | |
| |||
185 | 175 | | |
186 | 176 | | |
187 | 177 | | |
188 | | - | |
189 | | - | |
190 | 178 | | |
191 | 179 | | |
192 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 48 | + | |
54 | 49 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 50 | | |
59 | 51 | | |
60 | 52 | | |
61 | 53 | | |
62 | 54 | | |
63 | | - | |
64 | 55 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 6 | | |
11 | 7 | | |
12 | 8 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments