Commit Graph

439 Commits

Author SHA1 Message Date
Neil Booth
c4e2aa1543 Merge branch 'touched' into develop 2016-11-26 13:12:50 +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
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
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
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
Neil Booth
86b0f7fa72 Prepare 0.7.7 2016-11-24 23:42:49 +09:00
Neil Booth
de4930b96d Introduce MAX_HIST environment variable. 2016-11-24 23:30:40 +09:00
Neil Booth
eaf99f2b98 Merge branch 'release-0.7.6' into develop 2016-11-23 22:53:01 +09:00
Neil Booth
70ee7eebd8 Prepare 0.7.6 2016-11-23 22:52:23 +09:00
Neil Booth
956d1b8039 Fix IRC regression 2016-11-23 22:49:37 +09:00
Neil Booth
dc23c62625 Merge branch 'release-0.7.5' into develop 2016-11-23 18:00:16 +09:00
Neil Booth
86086cac63 Prepare 0.7.5 2016-11-23 17:59:18 +09:00
Neil Booth
9e220820aa Rework futures and event handling 2016-11-23 17:52:09 +09:00
Neil Booth
bab0d162de Merge ServerManager and BlockServer 2016-11-23 17:52:08 +09:00
Neil Booth
cebf93cdc3 Handle abuse better
- close connections on any encoding error
- if the connection is closing do not process buffered requests
2016-11-23 11:52:17 +09:00
Neil Booth
a886eeca73 Merge branch 'thelazier-irc_vars' into develop 2016-11-23 10:21:34 +09:00
Neil Booth
d7887b62be Merge branch 'irc_vars' of https://github.com/thelazier/electrumx into thelazier-irc_vars 2016-11-23 10:21:16 +09:00
TheLazieR Yip
f075f0bb5f Add coin's IRC parameters 2016-11-23 08:15:03 +07:00
Neil Booth
7ee789ab5e Merge branch 'release-0.7.4' into develop 2016-11-23 09:56:27 +09:00
Neil Booth
eb869efd96 Merge branch 'release-0.7.4' 2016-11-23 09:56:15 +09:00
Neil Booth
f20859a8a6 Prepare 0.7.4 2016-11-23 09:55:54 +09:00
Neil Booth
640360c809 Add feature to simulate reorgs for debugging 2016-11-23 09:52:30 +09:00
Neil Booth
8970205e6c Remove obsolete debugging feature 2016-11-23 09:16:41 +09:00
Neil Booth
2df5aa746f Pop one from tx_counts for each block we back up.
Fixes #40
2016-11-23 09:11:49 +09:00
Neil Booth
26221e751e Remove dead code 2016-11-23 09:02:01 +09:00
Neil Booth
3af5a33d30 Update env var sample 2016-11-23 08:49:06 +09:00
Neil Booth
87da366b1c Merge branch 'release-0.7.3' into develop 2016-11-22 08:12:43 +09:00
Neil Booth
cd2019702c Merge branch 'release-0.7.3' 2016-11-22 08:11:59 +09:00
Neil Booth
39021792ca Prepare 0.7.3 2016-11-22 08:11:05 +09:00
Neil Booth
d1ba4b1a76 Reset fs_height when backing up 2016-11-22 08:09:43 +09:00
Neil Booth
dca8c034ff Merge branch 'fix-reorg' into develop 2016-11-22 07:50:26 +09:00
Neil Booth
67bb01bf2c Fix reorgs with unspendable TXOs 2016-11-22 07:50:01 +09:00