code cleanup, defunct code removal, and some module splitting

This commit is contained in:
Kevin Froman 2019-02-11 17:44:39 -06:00
parent b09dae276c
commit 944c76d2e9
10 changed files with 114 additions and 243 deletions

View file

@ -41,7 +41,7 @@ def _processForwardKey(api, myBlock):
else:
raise onionrexceptions.InvalidPubkey("%s is nota valid pubkey key" % (key,))
def on_processblocks(api):
def on_processblocks(api, data=None):
# Generally fired by utils.
myBlock = api.data['block']
blockType = api.data['type']