reth icon indicating copy to clipboard operation
reth copied to clipboard

Make sure that we can just delete static files and it will not break provider access

Open shekhirin opened this issue 1 week ago • 1 comments
trafficstars

Describe the feature

❯ ls /mnt/nvme/reth/mainnet/static_files/static_file_* | first 6
╭───┬────────────────────────────────────────────────────────────────────────────────┬──────┬──────────┬────────────╮
│ # │                                      name                                      │ type │   size   │  modified  │
├───┼────────────────────────────────────────────────────────────────────────────────┼──────┼──────────┼────────────┤
│ 0 │ /mnt/nvme/reth/mainnet/static_files/static_file_headers_0_499999               │ file │ 158.2 MB │ a year ago │
│ 1 │ /mnt/nvme/reth/mainnet/static_files/static_file_headers_0_499999.conf          │ file │     75 B │ a year ago │
│ 2 │ /mnt/nvme/reth/mainnet/static_files/static_file_headers_0_499999.off           │ file │  12.0 MB │ a year ago │
│ 3 │ /mnt/nvme/reth/mainnet/static_files/static_file_headers_10000000_10499999      │ file │ 276.8 MB │ a year ago │
│ 4 │ /mnt/nvme/reth/mainnet/static_files/static_file_headers_10000000_10499999.conf │ file │     75 B │ a year ago │
│ 5 │ /mnt/nvme/reth/mainnet/static_files/static_file_headers_10000000_10499999.off  │ file │  12.0 MB │ a year ago │
╰───┴────────────────────────────────────────────────────────────────────────────────┴──────┴──────────┴────────────╯

Make sure that I can just delete static_file_headers_0_499999, static_file_headers_0_499999.conf and static_file_headers_0_499999.off files, and the provider will start returning None for all headers in that range. Same for other segments.

Additional context

No response

shekhirin avatar Nov 07 '25 17:11 shekhirin