Commit 8a0f032
refactor(node): remove dead code in event source and head sync (leanEthereum#836)
Three unused items, all verified to have zero live call sites:
- set_block_by_slot_lookup setter on the live event source: never
called anywhere. Its only sibling lookup field on the request
handler is set directly. Removing it leaves the AsyncBlockBySlotLookup
import unused, so drop that too.
- connection parameter on the status-exchange helper: status goes
through the reqresp client, the connection is never read.
- peer_id parameter on the descendant-processing helper: threaded in
and documented but never read in the body.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0ca2e89 commit 8a0f032
2 files changed
Lines changed: 2 additions & 25 deletions
Lines changed: 2 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
| |||
329 | 328 | | |
330 | 329 | | |
331 | 330 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | 331 | | |
347 | 332 | | |
348 | 333 | | |
| |||
582 | 567 | | |
583 | 568 | | |
584 | 569 | | |
585 | | - | |
| 570 | + | |
586 | 571 | | |
587 | 572 | | |
588 | 573 | | |
| |||
698 | 683 | | |
699 | 684 | | |
700 | 685 | | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
| 686 | + | |
706 | 687 | | |
707 | 688 | | |
708 | 689 | | |
709 | 690 | | |
710 | 691 | | |
711 | | - | |
712 | 692 | | |
713 | 693 | | |
714 | 694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
| |||
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
203 | | - | |
204 | 202 | | |
205 | 203 | | |
206 | 204 | | |
| |||
211 | 209 | | |
212 | 210 | | |
213 | 211 | | |
214 | | - | |
215 | 212 | | |
216 | 213 | | |
217 | 214 | | |
| |||
0 commit comments