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:
parent
48d19b277c
commit
57f233d856
12 changed files with 172 additions and 21 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue