Browse Source

Remove dead code

patch-2
Neil Booth 7 years ago
parent
commit
0c28136739
  1. 2
      docs/changelog.rst
  2. 4
      electrumx/server/block_processor.py

2
docs/changelog.rst

@ -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

4
electrumx/server/block_processor.py

@ -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…
Cancel
Save