* Removed hard coded data dir in daemon launch
* Documented subprocess pow better * Calculate block size better for pow + Added monero donation address
This commit is contained in:
parent
3322778ff4
commit
7e058b29e0
4 changed files with 46 additions and 42 deletions
|
@ -29,9 +29,9 @@ def daemon(o_inst):
|
|||
'''
|
||||
|
||||
# remove runcheck if it exists
|
||||
if os.path.isfile('data/.runcheck'):
|
||||
if os.path.isfile('%s/.runcheck' % (o_inst.onionrCore.dataDir,)):
|
||||
logger.debug('Runcheck file found on daemon start, deleting in advance.')
|
||||
os.remove('data/.runcheck')
|
||||
os.remove('%s/.runcheck' % (o_inst.onionrCore.dataDir,))
|
||||
|
||||
Thread(target=api.API, args=(o_inst, o_inst.debug, onionr.API_VERSION)).start()
|
||||
Thread(target=api.PublicAPI, args=[o_inst.getClientApi()]).start()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue