HelloZeroNet / HelloZeroNet/ZeroNet
[ Question ] About Master Seed insertion in Python Code File.
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
I recently exploring zeronet code to port to another language, but i found code in
func src/main.py>Actions.main()
https://github.com/HelloZeroNet/ZeroNet/blob/454c0b2e7e000fda7000cba49027541fbf327b96/src/main.py#L138
```
# Default action: Start serving UiServer and FileServer
def main(self):
from User import User
user = User(master_seed='MY_MASTER_SEED_HERE')
print(user)
...
```
is this file modified to include master seed, is there any specific reason to do so ?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at src/main.py in Actions.main() and inspect the surrounding code and the User implementation at the referenced commit. Determine whether the master-seed value is an intentional placeholder and document its purpose or clarify the report; done means the behavior and reason are explained with appropriate context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- security
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100