Commit Graph

984 Commits

Author SHA1 Message Date
Neil Booth
8a18da61c2 Add bitcoin-segwit 2017-07-20 13:12:38 +09:00
Neil Booth
87d24f38dc More logical mempool hash handling
Fixes the issue whereby notifications weren't sent as long as new blocks
kept coming in.  Now a new height notification, with an appropriate mempool
update, is sent after each batch of blocks is processed.
2017-07-19 23:50:44 +09:00
Neil Booth
3f9e2363c2 Prepare 1.0.12 2017-07-16 15:07:13 +09:00
Neil Booth
3ca464e5b1 Update BTC server list 2017-07-16 15:01:23 +09:00
Neil Booth
3612b88e2e Permit underscores in hostnames.
Add tests.
2017-07-16 13:58:02 +09:00
Neil Booth
4665ba6315 Improve daemon JSON RPC compatibility
- give an ID to each request
- allow client session to be customized by derived classes

Based on changes suggested by erasmospunk
2017-07-13 10:51:54 +09:00
Neil Booth
54c3ae4c5d Improve bip32 test coverage 2017-07-12 15:09:17 +09:00
Neil Booth
1addbd6815 Add wallet dir to coverage 2017-07-12 14:53:30 +09:00
Neil Booth
eb51706316 Update travis.yml 2017-07-12 14:43:57 +09:00
Neil Booth
9dfaedc727 Add bip32.py and tests. 2017-07-12 14:39:55 +09:00
Neil Booth
7a77637586 Add comprehensive tests of lib/hash.py 2017-07-10 19:01:03 +09:00
Neil Booth
858bac217d Move DB UTXO code into one place. 2017-07-10 14:12:27 +09:00
emilrus
5f8222efb3 Replace envuidgid with setuidgid and make run files executable (#203)
* envuidgid only sets environment variables $UID and $GID causing electrum_server to fail at https://github.com/kyuupichan/electrumx/blob/master/electrumx_server.py#L35-L37
Replaced envuidgid with setuidgit which runs electrum_server with the specified uid/gid

* Make run files executable
2017-07-08 17:10:29 +09:00
Neil
e7cf5e5d31 Merge pull request #200 from GoneUp/typo
Fixed paths in howto
2017-07-04 16:06:57 +09:00
Henry
5cc3973eff HOWTO: fixed paths 2017-07-04 03:37:56 +02:00
Neil
00886b8ee7 Merge pull request #194 from followtheart/master
Add Dockerfile
2017-06-25 09:11:42 +09:00
followtheart
04df5e9079 Add Dockerfile
Add Dockerfile reference
2017-06-20 18:37:15 +08:00
Neil Booth
2f26e81629 Implement history compression with tests.
Still to do: running compression in background when the flush
count reaches a certain level
2017-06-18 22:59:30 +09:00
Neil Booth
2940ea3199 Add new function get_history_txnums 2017-06-17 16:33:15 +09:00
Neil
721685ba4b Merge pull request #192 from erasmospunk/legacy-rpc
Legacy rpc and coin additions
2017-06-11 08:40:50 +09:00
John L. Jegutanis
b48465a065 Add Reddcoin support 2017-06-11 01:37:49 +03:00
John L. Jegutanis
fe30086795 Digibyte switched to SegWit 2017-06-11 01:37:49 +03:00
John L. Jegutanis
74f899e544 Add support for Blackcoin and Peercoin 2017-06-11 01:37:49 +03:00
John L. Jegutanis
1e9a65dccb Handle legacy daemon RPCs
Add support for daemons that don't have the new 'getblock' RPC call that
returns the block in hex, the workaround is to manually recreate the block
bytes. The recreated block bytes may not be the exact ones as in the
underlying blockchain but it is good enough for our indexing purposes.
2017-06-11 01:37:45 +03:00
Neil Booth
0cf4210a66 Prepare 1.0.11 2017-06-07 23:47:18 +09:00
Neil Booth
661883732c Update nolnet parameters 2017-06-07 23:47:17 +09:00
Neil Booth
4cc3720589 Disable IRC for bitcoin mainnet
Only require IRC_CHANNEL if IRC_PREFIX is given.
2017-06-07 23:47:17 +09:00
Antti Majakivi
9a9f78030d fix a typo
Fixes a typo.
2017-06-05 23:09:15 +03:00
Neil
efd859ab02 Merge pull request #188 from erasmospunk/remove-dead-code
Remove dead code
2017-05-18 22:10:03 +09:00
John L. Jegutanis
232d6be72c Remove dead code 2017-05-18 15:07:34 +02:00
Neil
d9ff685958 Merge pull request #183 from thelazier/dash_mn_methods
Add support for Dash Masternode methods
2017-05-16 19:02:17 +07:00
Neil Booth
08dbbf217a client_version must be a tuple
Fixes #180
2017-05-16 14:55:19 +09:00
TheLazieR Yip
2e87d49e04 Add more comment on DashElectrumX.server_version 2017-05-15 08:10:09 +00:00
TheLazieR Yip
e99400c225 Update DashElectrumX as commented 2017-05-15 04:12:33 +00:00
TheLazieR Yip
8d21eae2bb Move import lines to top of class 2017-05-15 04:12:15 +00:00
Neil
d3348fe684 Merge pull request #182 from thelazier/allow_custom_electrumx
Allow custom ElectrumX class
2017-05-15 10:42:06 +07:00
TheLazieR Yip
4da2278729 Force server string response for Electrum-Dash 2.6.4 client 2017-05-14 17:38:55 +00:00
TheLazieR Yip
f179c67935 Add support for Dash Masternode methods
+ Add DashDaemon class
+ Add DashElectrumX class
+ Update coin configurations for Dash
2017-05-14 16:36:02 +00:00
TheLazieR Yip
b0e23e903d Allow custom ElectrumX class 2017-05-14 16:26:17 +00:00
Neil
325097f0e6 Merge pull request #176 from erasmospunk/allow-customizations
Allow custom Daemon and BlockProcessor classes
2017-05-07 19:42:25 +07:00
John L. Jegutanis
a4e4f80ad7 Allow custom Daemon and BlockProcessor classes 2017-05-07 14:22:23 +02:00
Neil
c86fdffaf0 Merge pull request #178 from knocte/patch-1
HOWTO.rst: fix typo
2017-05-05 17:40:53 +07:00
Andres G. Aragoneses
8fb0faac2d HOWTO.rst: fix typo 2017-05-04 15:11:32 +08:00
Neil
9ec2f22306 Merge pull request #177 from laodc/master
Added SERVER_(SUB)VERSION to banner variables
2017-05-04 00:24:18 +09:00
Neil
37a9b27646 Update ENVIRONMENT.rst 2017-05-04 00:22:53 +09:00
LaoDC
3c8ab998e4 sorry about permissions 2017-05-03 19:27:00 +07:00
LaoDC
70c6c87852 fixed typo. 2017-05-03 19:26:49 +07:00
LaoDC
c5c75c30de Updated docs/ENVIRONMENT.rst to reflect changes in variables 2017-05-03 19:25:14 +07:00
LaoDC
9e34bf8583 reverted and made the version split isolated within the banner logic only as not to affect other parts of the code. 2017-05-03 17:43:47 +07:00
LaoDC
9dceeb914c Add new variables to BANNER(_TOR)
$SERVER_VER will return the version number (eg: 1.0.10)
$SERVER_SUBVERSION will return the full version string (eg: ElectrumX 1.0.10)

$VERSION is kept for legacy which is the same as $SERVER_SUBVERSION
2017-05-03 17:10:52 +07:00