progress in removing core

This commit is contained in:
Kevin Froman 2019-07-20 01:02:30 -05:00
parent e351710189
commit 348ec1081f
23 changed files with 78 additions and 1454 deletions

View file

@ -34,7 +34,7 @@ class PublicAPI:
self.i2pEnabled = config.get('i2p.host', False)
self.hideBlocks = [] # Blocks to be denied sharing
self.host = apiutils.setbindip.set_bind_IP(filepaths.public_API_host_file)
self.torAdder = gettransports.transports[0]
self.torAdder = gettransports.get()[0]
self.bindPort = config.get('client.public.port')
self.lastRequest = 0
self.hitCount = 0 # total rec requests to public api since server started