Remove dead code
This commit is contained in:
parent
8e99d076b6
commit
0c28136739
@ -26,7 +26,7 @@ Version 1.6 (19 July 2018)
|
||||
* large refactoring of session and controller classes
|
||||
* recent blocks are now stored on disk. When backing up in a reorg
|
||||
ElectrumX uses these rather than asking the daemon for the blocks --
|
||||
some daemon's cannot correctly handle orphaned block requests after
|
||||
some daemons cannot correctly handle orphaned block requests after
|
||||
a reorg. Fixes `#258`_, `#315`_, `#479`_
|
||||
* minor fixes: nijel
|
||||
|
||||
|
||||
@ -188,10 +188,6 @@ class BlockProcessor(electrumx.server.db.DB):
|
||||
self.state_lock = asyncio.Lock()
|
||||
self.worker_task = None
|
||||
|
||||
def add_task(self, task):
|
||||
'''Add the task to our task queue.'''
|
||||
self.task_queue.put_nowait(task)
|
||||
|
||||
def add_new_block_callback(self, callback):
|
||||
'''Add a function called when a new block is found.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user