work on block processing module

This commit is contained in:
Kevin Froman 2018-09-09 00:12:41 -05:00
parent a44d511e1d
commit 151b12424c
4 changed files with 8 additions and 15 deletions

View file

@ -102,6 +102,8 @@ class Core:
logger.warn("POW token for pubkey base64 representation exceeded 120 bytes, is " + str(sys.getsizeof(powID)))
return False
events.event('pubkey_add', data = {'key': peerID}, onionr = None)
conn = sqlite3.connect(self.peerDB)
hashID = self._crypto.pubKeyHashID(peerID)
c = conn.cursor()