HelloZeroNet / HelloZeroNet/ZeroNet

Do not store `bad_files` & `hashfield` in `sites.json`

Open
#1,894 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Because these make `sites.json` too bloat, and slow down whole client.
There should be stored in `content.db` instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that writes and reads sites.json, bad_files, hashfield, and content.db; the issue names no specific files or tests. Trace how these values are used across the client before deciding the migration scope. Done means bad_files and hashfield are no longer stored in sites.json, are stored in content.db, and the client retains its behavior without the reported bloat.

Written by the indexing model from the issue text.

Assessment

Domain
backend, database
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.