Commit Graph

501 Commits

Author SHA1 Message Date
Neil Booth
b103df5c80 Merge branch 'rocksdb_close_test' of https://github.com/bauerj/electrumx into bauerj-rocksdb_close_test 2016-11-30 07:37:37 +09:00
Neil Booth
0771221e93 Merge branch 'release-0.7.17' 2016-11-30 07:29:38 +09:00
Neil Booth
d3f8ed31c2 0.7.17 release 2016-11-30 07:29:21 +09:00
Neil Booth
15a88600eb Upped read buffer limit to 1m bytes
This accomodates large tx sends of up to 500k bytes.
However they are unlikely to be propogated by your daemon as the
default relay limit it imposes is 100K.
2016-11-30 07:26:34 +09:00
Neil Booth
33510b1043 Merge branch 'develop' 2016-11-29 23:23:13 +09:00
Neil Booth
aa2baa9706 Prepare 0.7.16 2016-11-29 23:22:59 +09:00
Neil Booth
6b551973e8 queue -> tasks 2016-11-29 23:21:22 +09:00
Neil Booth
8e3cfb3a78 Merge branch 'release-0.7.15' into develop 2016-11-29 23:04:29 +09:00
Neil Booth
056419f847 Merge branch 'release-0.7.15' 2016-11-29 23:04:24 +09:00
Neil Booth
5e7f982427 Prepare 0.7.15 2016-11-29 23:04:06 +09:00
Neil Booth
7b1b8d5d4a Merge branch 'daemon_version' into develop 2016-11-29 23:03:32 +09:00
Neil Booth
0892b12036 Replace $DAEMON_VERSION and $DAEMON_SUBVERSION
in banner file.
2016-11-29 23:03:05 +09:00
Neil Booth
8bd070b8f3 Merge branch 'develop' 2016-11-29 22:27:09 +09:00
Neil Booth
9c8f0283c9 Update version 2016-11-29 22:26:55 +09:00
Neil Booth
b0ed5b172b Merge branch 'release-0.7.14' into develop 2016-11-29 22:22:37 +09:00
Neil Booth
14c348850e Merge branch 'release-0.7.14' 2016-11-29 22:22:30 +09:00
Neil Booth
cc6d183ec4 Prepare 0.7.14 2016-11-29 22:22:07 +09:00
Neil Booth
d9082e59a3 Merge branch 'bandwidth' into develop 2016-11-29 22:20:12 +09:00
Neil Booth
b65bcda504 Add per-session bandwidth limits 2016-11-29 22:19:12 +09:00
Neil Booth
c9a10be5ba Introduce incoming buffer size limit
- incoming buffered network requests limited to 150,000 bytes
  which I believe is ample for a genuine client
- if exceeded, the connection is dropped
- raise outgoing data limit for RPC connections to 5 MB - expect
  sessions calls can be long and connection is implicitly trusted
- similarly raise incoming buffered data limit to 5 MB for RPC
  connections
2016-11-29 20:24:58 +09:00
Neil Booth
c6d8440b3d Remove all RocksDB references on close 2016-11-29 19:50:44 +09:00
Neil Booth
5053101cee LOG_SESSIONS should use self.integer 2016-11-29 19:32:11 +09:00
Neil Booth
bc56eb4133 Merge branch 'release-0.7.13' into develop 2016-11-29 08:04:19 +09:00
Neil Booth
096b8483c6 Merge branch 'release-0.7.13' 2016-11-29 08:04:10 +09:00
Neil Booth
6713373aa2 Prepare 0.7.13 2016-11-29 08:03:51 +09:00
Neil Booth
22c1bbcf03 Merge branch 'log_sessions' into develop 2016-11-29 08:01:09 +09:00
Neil Booth
c08ade5861 Add session logging facility
Move session logging code to protocol.py from electrum_rpc.py
Use it for periodic logging controlled by envvar LOG_SESSIONS
For each session, track sent transaction stats and show that
per-session instead of errors
2016-11-29 08:00:54 +09:00
Neil Booth
c6be118bab Tweak Litecoin settings 2016-11-29 07:28:09 +09:00
Neil Booth
a4989bc235 Merge branch 'santzi-master' into develop 2016-11-28 07:32:07 +09:00
Neil Booth
07b1e9672e Merge branch 'master' of https://github.com/santzi/electrumx into santzi-master 2016-11-28 07:31:25 +09:00
Johann Bauer
e9e7ff16ad Add tests for close. 2016-11-27 21:47:56 +01:00
Santzi
f1911140ef Updated Litecoin mainnet parameters 2016-11-27 19:13:38 +02:00
Neil Booth
e1a321398f Merge branch 'release-0.7.12' into develop 2016-11-27 22:01:59 +09: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