a lot of work on sockets, and added chat module

This commit is contained in:
Kevin Froman 2018-09-19 23:36:59 -05:00
parent f8b10cfe12
commit 557afb8d9a

View File

@ -90,7 +90,7 @@ def on_processBlocks(api):
except KeyError: except KeyError:
raise ValueError("Missing socket reason") raise ValueError("Missing socket reason")
socketInfo = json.dumps({'peer': api.data['signer'], 'address': address, 'port': port, 'create' = False, 'reason': reason}) socketInfo = json.dumps({'peer': api.data['signer'], 'address': address, 'port': port, 'create': False, 'reason': reason})
api.get_core().daemonQueueAdd('startSocket', socketInfo) api.get_core().daemonQueueAdd('startSocket', socketInfo)
def on_init(api, data = None): def on_init(api, data = None):