Johann Bauer
e9e7ff16ad
Add tests for close.
2016-11-27 21:47:56 +01:00
Neil Booth
c34c3f493d
Merge branch 'release-0.7.12'
2016-11-27 22:01:35 +09:00
Neil Booth
98c4ce3fef
Prepare 0.7.12
2016-11-27 22:01:12 +09:00
Neil Booth
b2032b0a66
Fix 2 JSON RPC issues
2016-11-27 21:54:05 +09:00
Neil Booth
b8fc739590
Fix ordering in get_utxos
2016-11-27 21:54:05 +09:00
Neil Booth
f9cc21807f
Further optimize the inner loop
2016-11-27 14:20:36 +09:00
Neil Booth
5c0b026158
Tasks queue just has null entries for now
2016-11-27 13:35:09 +09:00
Neil Booth
6aef79461f
Don't shut down block processor by cancellation
...
The block processor needs to be able to close cleanly, and not
mid-block. In order to be able to yield whilst processing blocks
we cannot forcefully close its coroutine with a cancellation.
2016-11-27 12:20:16 +09:00
Neil Booth
1b95bcd8ac
Open DB differently depending on if syncing
...
If syncing, use a high max_open_files, otherwise lower it.
2016-11-27 07:25:28 +09:00
Neil Booth
0afddb7bc3
Give backing up its own flush function
...
Remove some excessive log messages
2016-11-26 20:59:59 +09:00
Neil Booth
f5384ccc98
Remove get_tx_hash
...
Anything in the DB should be on the disk. Remove misleading
comment.
2016-11-26 20:09:18 +09:00
Neil Booth
37a84f7fe3
Merge branch 'release-0.7.11' into develop
2016-11-26 18:21:28 +09:00
Neil Booth
812509ab08
Merge branch 'release-0.7.11'
2016-11-26 18:21:03 +09:00
Neil Booth
4fc5e309ab
Prepare 0.7.11
2016-11-26 18:20:40 +09:00
Neil Booth
9eb701f220
Replace $VERSION in the banner file
...
with the ElectrumX version string
2016-11-26 18:19:53 +09:00
Neil Booth
1aaed2e913
Create just one server connection
...
I hope this
Fixes #47
2016-11-26 18:10:03 +09:00
Neil Booth
3f743e9630
Distinguish undo_info being empty and not existing
...
Fixes #46
2016-11-26 16:16:17 +09:00
Neil Booth
af3ae6429e
Fix logging bug
2016-11-26 15:35:55 +09:00
Neil Booth
4e26e0fe96
Bump default value of MAX_SEND to 1m bytes.
...
Otherwise historic large txs could not be served to clients.
2016-11-26 15:22:42 +09:00
Neil Booth
95a2de6dae
Move DB undo code to db.py
2016-11-26 13:18:10 +09:00
Neil Booth
a5fb9618d6
Merge branch 'clean_db' into develop
2016-11-26 13:16:14 +09:00
Neil Booth
8d253c81d3
Move clean_db() to db.py
2016-11-26 13:15:45 +09:00
Neil Booth
db5d0dd6cb
Merge branch 'serve_disk_only' into develop
2016-11-26 13:12:57 +09:00
Neil Booth
c4e2aa1543
Merge branch 'touched' into develop
2016-11-26 13:12:50 +09:00
Neil Booth
59244cc24e
Move bulk of FS flush code to db.py
...
More logically belongs there.
Have servers use the flushed DB height not the block processor's height.
Get all headers only from disk.
2016-11-26 13:11:59 +09:00
Neil Booth
df3cb8535a
Cleaner handling of touched addresses
...
Moved to local vars rather than an instance variable
2016-11-26 12:46:11 +09:00
Neil Booth
b97496d4a5
Set max_open_files for LevelDB to 256
...
On Linux it seems a bit greedy
2016-11-26 10:38:48 +09:00
Neil Booth
9157618089
Tweak ENV-NOTES
2016-11-26 10:13:19 +09:00
Neil Booth
81ee6d69ed
Merge branch 'release-0.7.10' into develop
2016-11-26 09:55:27 +09:00
Neil Booth
1c3c8f61e3
Merge branch 'release-0.7.10'
2016-11-26 09:55:01 +09:00
Neil Booth
9544170c55
Prepare release-0.7.10
2016-11-26 09:53:47 +09:00
Neil Booth
292073f2c7
Log large requests and reject them
2016-11-26 09:32:29 +09:00
Neil Booth
59733e4609
Move bitcoin-specific coin defaults to Bitcoin
2016-11-26 08:32:30 +09:00
Neil Booth
198fe298b7
Bump timeout to 15s. Show timeout if timed out.
2016-11-26 07:14:38 +09:00
Neil
ffd9c65e7d
Merge pull request #45 from thelazier/header_hash
...
fs_block_hashes need correct header_hash from coin
2016-11-25 21:49:55 +09:00
TheLazieR Yip
f3ecfe00e2
Remove unused variables
2016-11-25 07:45:45 -05:00
TheLazieR Yip
828727d41a
Remove unneccessary local variables
2016-11-25 07:44:19 -05:00
TheLazieR Yip
dfaf36ae16
Remove header_hashes
2016-11-25 07:25:57 -05:00
TheLazieR Yip
e987510432
Replace double_sha256 with header_hash from coin
2016-11-25 07:25:57 -05:00
TheLazieR Yip
b3623f5455
replace header_hashes with header_prevhash , header_hash
2016-11-25 07:25:56 -05:00
TheLazieR Yip
6b63ecb439
Add header_hash and header_prevhash class methods
2016-11-25 07:25:56 -05:00
Neil Booth
d4c871814f
Merge branch 'release-0.7.9' into develop
2016-11-25 21:23:52 +09:00
Neil Booth
b6de915890
Merge branch 'release-0.7.9'
2016-11-25 21:23:31 +09:00
Neil Booth
9f2bd981f0
Prepare 0.7.9
2016-11-25 21:23:14 +09:00
Neil Booth
42c00d32d2
Rewrite lib/jsonrpc.py to be a useful client too
...
Use for an improved electrumx_rpc.py, so it now handles responses spread
over several packets. Also added a timeout of 5 seconds.
Fixes #43
2016-11-25 21:19:43 +09:00
Neil Booth
dcf4d237a2
Merge branch 'release-0.7.8' into develop
2016-11-25 08:12:21 +09:00
Neil Booth
8f3802444e
Merge branch 'release-0.7.8'
2016-11-25 08:11:59 +09:00
Neil Booth
2dbb9f44f6
Prepare release 0.7.8
2016-11-25 08:10:53 +09:00
Neil Booth
ef2703177e
Fix another assertion error during reorgs
...
Fixes #44
2016-11-25 08:10:11 +09:00
Neil Booth
f53e955dde
Merge branch 'release-0.7.7' into develop
2016-11-24 23:50:46 +09:00