reloadMyAddressHashes()#This is necessary here (rather than just at the end) because otherwise if the human generates a large number of new addresses and uses one before they are done generating, the program will receive a getpubkey message and will ignore it.
except:
printaddress,'already exists. Not adding it again.'
#It may be the case that this address is being generated as a result of a call to the API. Let us put the result in the necessary queue.
@ -2729,41 +2731,6 @@ class addressGenerator(QThread):
#This code which deals with old RSA addresses will soon be removed.
"""elif self.addressVersionNumber == 1:
statusbar='Generating new '+str(config.getint('bitmessagesettings','bitstrength'))+' bit RSA key. This takes a minute on average. If you want to generate multiple addresses now, you can; they will queue.'
@ -4721,6 +4688,7 @@ class MyForm(QtGui.QMainWindow):
self.ui.tableWidgetInbox.removeRow(currentRow)
self.statusBar().showMessage('Moved items to trash. There is no user interface to view your trash, but it is still on disk if you are desperate to get it back.')
sqlSubmitQueue.put('commit')
self.ui.tableWidgetInbox.selectRow(currentRow)
#Send item on the Sent tab to trash
defon_action_SentTrash(self):
@ -4828,6 +4796,7 @@ class MyForm(QtGui.QMainWindow):