work on sockets

This commit is contained in:
Kevin Froman 2018-09-20 23:47:40 -05:00
parent d3f4e912f9
commit 4e8f7e2761
4 changed files with 56 additions and 123 deletions

View file

@ -91,7 +91,7 @@ def on_processBlocks(api):
raise ValueError("Missing socket 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('addSocket', socketInfo)
def on_init(api, data = None):