onionr now waits for a block to be uploaded to share it, unless the node exits
This commit is contained in:
parent
1303edc2fa
commit
851b2bef76
5 changed files with 51 additions and 24 deletions
|
@ -728,6 +728,8 @@ class Core:
|
|||
payload = proof.waitForResult()
|
||||
if payload != False:
|
||||
retData = self.setData(payload)
|
||||
# Tell the api server through localCommand to wait for the daemon to upload this block to make stastical analysis more difficult
|
||||
self._utils.localCommand('waitForShare', data=retData)
|
||||
self.addToBlockDB(retData, selfInsert=True, dataSaved=True)
|
||||
#self.setBlockType(retData, meta['type'])
|
||||
self._utils.processBlockMetadata(retData)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue