added work on new main page with tor statistics. Added TorStats class to access tor statistics suck as circuit information

This commit is contained in:
Kevin Froman 2020-01-21 02:34:15 -06:00
parent 48d19b277c
commit 57f233d856
12 changed files with 172 additions and 21 deletions

View file

@ -13,6 +13,7 @@ from gevent import spawn
import toomanyobjs
import config
from statistics.transports.tor import TorStats
import apiservers
import logger
import communicator
@ -105,6 +106,8 @@ def daemon():
apiServerIP=apiHost)
shared_state.add(net)
shared_state.get(TorStats)
if not offline_mode:
logger.info('Tor is starting...', terminal=True)
if not net.startTor():