ZeroNet
ZeroNet copied to clipboard
[ Question ] About Master Seed insertion in Python Code File.
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 ?
The file you linked to lacks the quoted code. Ditto for my local version. Where did you find that?
I had an old copy of ZeroNet, now I was making working graph of ZeroNet, to port it to another language, but I found this code in that, first I thought it was common master_seed for some purpose, so I want to query about that somebody working on internal code, but when inspected the code on GitHub, I don't find those lines, so I posted how that code is injected into?
Can you remember where did you get that copy of ZeroNet from? Also, does that master_seed match the one in users.json? If not, that's concerning. Mind sending me the seed to my github username at gmail dot com in that case?
it is from official repo, yes that's same as master_seed from users.json, that's why i didn't publish that seed. i was expecting reply from @shortcutme, because it might be set by zeronet, for faster startups or might not be the case.