Update release notes.

This commit is contained in:
Neil Booth 2016-11-11 21:09:57 +09:00
parent 15e052c728
commit 244a0f2fab
4 changed files with 16 additions and 7 deletions

View File

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

View File

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

View File

@ -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 = []

View File

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