HelloZeroNet / HelloZeroNet/ZeroNet

[ Question ] About Master Seed insertion in Python Code File.

Abierto
#2,760 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
18.8k
Forks
2.3k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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 ?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
security
Tipo de issue
Documentación
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.