work on sockets
This commit is contained in:
parent
d3f4e912f9
commit
4e8f7e2761
4 changed files with 56 additions and 123 deletions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue