Browse Source

Merge branch 'develop'

master 0.10.12
Neil Booth 8 years ago
parent
commit
059848a07a
  1. 5
      README.rst
  2. 7
      server/controller.py
  3. 2
      server/version.py

5
README.rst

@ -135,6 +135,11 @@ version prior to the release of 1.0.
ChangeLog ChangeLog
========= =========
Version 0.10.12
---------------
* fixed a bug in 0.10.11 where a dict changed whilst iterating it
Version 0.10.11 Version 0.10.11
--------------- ---------------

7
server/controller.py

@ -329,9 +329,10 @@ class Controller(util.LoggedClass):
self.cache_height = self.bp.db_height self.cache_height = self.bp.db_height
self.header_cache.clear() self.header_cache.clear()
for session in self.sessions: # Make a copy; self.sessions can change whilst await-ing
if isinstance(session, ElectrumX): sessions = [s for s in self.sessions if isinstance(s, ElectrumX)]
await session.notify(self.bp.db_height, touched) for session in sessions:
await session.notify(self.bp.db_height, touched)
def electrum_header(self, height): def electrum_header(self, height):
'''Return the binary header at the given height.''' '''Return the binary header at the given height.'''

2
server/version.py

@ -1 +1 @@
VERSION = "ElectrumX 0.10.11" VERSION = "ElectrumX 0.10.12"

Loading…
Cancel
Save