Browse Source

Update release notes.

master
Neil Booth 8 years ago
parent
commit
244a0f2fab
  1. 13
      docs/RELEASE-NOTES
  2. 6
      server/block_processor.py
  3. 2
      server/protocol.py
  4. 2
      server/version.py

13
docs/RELEASE-NOTES

@ -1,3 +1,16 @@
Version 0.3
-----------
- Database format has changed; old DBs are incompatible. They will
not work and will probably die miserably as I'm not yet versioning
them for helpful warnings (coming soon).
- The change in on-disk format makes UTXO flushes noticeably more
efficient. My gut feeling is it probably benefits HDDs more than
SSDs, but I have no numbers to back that up other than that my HDD
synced about 90 minutes (10%) faster. Until the treacle hits at
blocks 300k+ there will probably be little noticeable difference in
sync time.
Version 0.2.3
-------------

6
server/block_processor.py

@ -302,8 +302,8 @@ class MemPool(LoggedClass):
Can be positive or negative.
'''
value = 0
for tx_hash in self.hash168s[hash168]:
txin_pairs, txout_pairs, unconfirmed = self.txs[tx_hash]
for hex_hash in self.hash168s[hash168]:
txin_pairs, txout_pairs, unconfirmed = self.txs[hex_hash]
value -= sum(v for h168, v in txin_pairs if h168 == hash168)
value += sum(v for h168, v in txout_pairs if h168 == hash168)
return value
@ -317,8 +317,6 @@ class BlockProcessor(server.db.DB):
'''
def __init__(self, env):
'''on_update is awaitable, and called only when caught up with the
daemon and a new block arrives or the mempool is updated.'''
super().__init__(env)
# These are our state as we move ahead of DB state

2
server/protocol.py

@ -36,8 +36,6 @@ class BlockServer(BlockProcessor):
'''Like BlockProcessor but also starts servers when caught up.'''
def __init__(self, env):
'''on_update is awaitable, and called only when caught up with the
daemon and a new block arrives or the mempool is updated.'''
super().__init__(env)
self.servers = []

2
server/version.py

@ -1 +1 @@
VERSION = "ElectrumX 0.2.3"
VERSION = "ElectrumX 0.3"

Loading…
Cancel
Save