Merge branch 'release-0.2'
This commit is contained in:
commit
2dfd695066
@ -1,3 +1,8 @@
|
|||||||
|
Version 0.2
|
||||||
|
-----------
|
||||||
|
|
||||||
|
- update sample run script, remove empty addresses from mempool
|
||||||
|
|
||||||
Version 0.1
|
Version 0.1
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
j#!/bin/sh
|
||||||
echo "Launching ElectrumX server..."
|
echo "Launching ElectrumX server..."
|
||||||
exec 2>&1 envdir ./env /bin/sh -c 'envuidgid $USERNAME python3 $SERVER_MAIN'
|
exec 2>&1 envdir ./env /bin/sh -c 'envuidgid $USERNAME python3 $ELECTRUMX'
|
||||||
|
|||||||
@ -190,6 +190,8 @@ class MemPool(LoggedClass):
|
|||||||
hash168s.update(hash168 for hash168, value in txout_pairs)
|
hash168s.update(hash168 for hash168, value in txout_pairs)
|
||||||
for hash168 in hash168s:
|
for hash168 in hash168s:
|
||||||
self.hash168s[hash168].remove(hex_hash)
|
self.hash168s[hash168].remove(hex_hash)
|
||||||
|
if not self.hash168s[hash168]:
|
||||||
|
del self.hash168s[hash168]
|
||||||
touched.update(hash168s)
|
touched.update(hash168s)
|
||||||
|
|
||||||
# Get the raw transactions for the new hashes. Ignore the
|
# Get the raw transactions for the new hashes. Ignore the
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
VERSION = "ElectrumX 0.1"
|
VERSION = "ElectrumX 0.2"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user