moving to release with better settings and onboarding

This commit is contained in:
Kevin Froman 2020-02-03 20:08:06 -06:00
parent 09617dc563
commit 68074d4dd8
9 changed files with 23 additions and 15 deletions

View file

@ -44,6 +44,9 @@ def set_config_from_onboarding(config_settings: OnboardingConfig):
'networkContrib'):
config.set('general.security_level', 1)
if get(config_settings, 'localThreat'):
config.set('general.security_level', 3)
config.set('ui.theme', 'light')
if get(config_settings, 'useDark'):
config.set('ui.theme', 'dark')

View file

@ -50,8 +50,7 @@ WSGI_SERVER_REQUEST_TIMEOUT_SECS = 120
MAX_NEW_PEER_QUEUE = 1000
# Begin OnionrValues migrated values
"""Make announce take a few seconds (on average) to compute to discourage excessive node announcements"""
ANNOUNCE_POW = 6
"""30 days is plenty of time for someone to decide to renew a block"""
DEFAULT_EXPIRE = 2592000
# Metadata header section length limits, in bytes