work on clandestine
This commit is contained in:
parent
726bbe61ac
commit
30630e1d8e
10 changed files with 64 additions and 16 deletions
|
@ -98,7 +98,7 @@ class DaemonTools:
|
|||
if len(self.daemon.onlinePeers) == 0:
|
||||
if not netutils.checkNetwork(self.daemon._core._utils, torPort=self.daemon.proxyPort):
|
||||
if not self.daemon.shutdown:
|
||||
logger.warn('Network check failed, are you connected to the internet?')
|
||||
logger.warn('Network check failed, are you connected to the Internet, and is Tor working?')
|
||||
self.daemon.isOnline = False
|
||||
else:
|
||||
self.daemon.isOnline = True
|
||||
|
|
|
@ -12,6 +12,7 @@ def service_creator(daemon):
|
|||
bs = utils.bytesToStr(bl.bcontent) + '.onion'
|
||||
if utils.validatePubKey(bl.signer) and utils.validateID(bs):
|
||||
daemon.active_services.append(b)
|
||||
daemon.active_services.append(bl.signer)
|
||||
daemon.services.create_server(bl.signer, bs)
|
||||
|
||||
daemon.decrementThreadCount('service_creator')
|
Loading…
Add table
Add a link
Reference in a new issue