Commit Graph

1022 Commits

Author SHA1 Message Date
Neblio Team
2a6fa0489e Add Neblio support to electrumx (#240)
* add neblio

* update daemon & deserializer and add header_hash

* remove LegacyRPDaemon usage for Neblio

getblock() RPC was updated in nebliod to eliminate the need for LegacyRPCDaemon support in electrumx
2017-09-01 08:22:44 +07:00
Neil Booth
efe86c67f2 Exclude tests directory from installation
Fixes #223
2017-08-26 15:05:50 +09:00
Neil Booth
137236712f Add EVENT_LOOP_POLICY environment variable
Based on #215 by JustinTArthur.

- Accept EVENT_LOOP_POLICY of uvloop
- Move initilisation from electrumx_server to controller
- SocksProxy now requires a loop
- Update tests
2017-08-26 14:03:02 +09:00
Neil Booth
1f3e942cbc Some further cleanup 2017-08-26 12:47:47 +09:00
John L. Jegutanis
885872f0b5 Various improvements (#233)
* Fix formatting

* Refactor daemons

Replaced FujiDaemon with FakeEstimateFeeDaemon that simulates estimate
fee calls and provide the same functionality.
Removed the parameter False for LegacyRPCDaemon's getblock RPC call as
it is not needed.

* Fix Crown coin P2SH_VERBYTES and add REORG_LIMIT
2017-08-26 12:33:20 +09:00
Neil Booth
3d4d382178 Remove 2 segwit peers from Bitcoin cash list 2017-08-24 23:54:28 +09:00
Neil Booth
e5101e4757 Change the not.fyi server on request 2017-08-22 21:13:11 +09:00
Neil Booth
d324bdc0d1 Prepare 1.0.17 2017-08-21 23:41:30 +09:00
Neil Booth
fab3f5affe Have proxy.create_connection use kwargs
Fixes #227
2017-08-21 23:38:54 +09:00
Neil Booth
ab62092afc Add note about new NET assignments. 2017-08-21 20:59:51 +09:00
Neil Booth
7442bad66c Prepare 1.0.16 2017-08-21 20:52:02 +09:00
Neil Booth
00504b695a Split peer lists post fork 2017-08-21 20:30:21 +09:00
Neil Booth
4d2456e4b4 Explicitly bind to both IPv4 and IPv6. 2017-08-21 20:07:08 +09:00
mmouse-
69c1535d13 Use our listening Host/IP for outgoing connections also (#226)
Explicitely set the local IP for outgoing connections, if we're listening
on only one Hostname or IP (of a multi-IP machine). This makes sure our
peers see our outgoing connections coming from the same IP that we're
listening on when we have a specific HOST= configured.

For machines with more than one IP this avoids source-destination
mismatch errors when advertizing our peer. Resolves kyuupichan/electrumx#225
2017-08-21 05:47:05 +07:00
Kefkius
59d8421c87 Fix KeyError on incorrect genesis hash (#224)
Fix KeyError that occurs when creating an exception for an incorrect genesis hash.
2017-08-20 05:31:55 +07:00
FujiCoin
b4ac4b6a05 Add Fujicoin (#218)
* Add Fujicoin

* Add explanation of FujiDaemon
2017-08-18 15:05:54 +07:00
sam
5b475751f1 Correct 'seessions' (sessions) (#220) 2017-08-13 07:29:20 +07:00
cryptcoin-junkey
761213607c Add PEERS to Monacoin. (#219) 2017-08-12 10:27:00 +07:00
Extrememist
2031e88c20 Add Crown (#217)
* Add Crown

* Fix Parse
2017-08-11 07:05:19 +07:00
Riccardo Casatta
97ec00338d Adding regtest parameters (#213) 2017-08-04 23:12:34 +09:00
Neil Booth
620ee35af9 Merge branch 'master' of github.com:kyuupichan/electrumx 2017-08-03 23:13:23 +09:00
Neil Booth
f65fa2fd19 Update server list for BCC servers. 2017-08-03 23:12:56 +09:00
Neil Booth
92ba67037f Use None instead of localhost
See #211.  Some don't have localhost mapped, and
we should also bind to IPv6 interfaces.

Thanks to gaoyaxing24 for testing.
2017-08-02 16:54:58 +09:00
Justin Turner Arthur
28764936c4 Remove semicolons and a couple unused variables. (#212) 2017-08-02 15:55:44 +09:00
cryptcoin-junkey
ecad494f28 Add Monacoin. (#210)
Signed-off-by: Cryptcoin Junkey <cryptcoin.junkey@gmail.com>
2017-08-02 15:32:16 +09:00
Neil Booth
23b121e799 Prepare 1.0.15 2017-07-30 21:38:51 +09:00
Neil Booth
75feac5d1e Check prior header hashes to detect forks 2017-07-30 21:32:41 +09:00
Neil Booth
f696a7933d Prevent unnecessary copying of raw blocks 2017-07-30 20:47:54 +09:00
Neil Booth
3eef0ba4cf Rename block_full to block.
Retain the raw block in the named tuple.
2017-07-30 20:41:08 +09:00
John L. Jegutanis
350ed82711 Add Vertcoin support (#208) 2017-07-25 07:39:09 +09:00
Thomas König
164d0cd924 update FairCoin genesis block (#207)
update server list
2017-07-23 22:25:48 +09:00
Neil Booth
d593dd2c6e Prepare 1.0.14 2017-07-23 14:57:02 +09:00
Neil Booth
2ade5fce9c Revert "More logical mempool hash handling"
This reverts commit 87d24f38dc.
2017-07-23 14:55:03 +09:00
Neil Booth
bf202f8395 Merge branch 'master' of github.com:kyuupichan/electrumx into develop 2017-07-23 14:54:38 +09:00
Pavel Zhovner
9279602c4b Update HOWTO.rst (#206) 2017-07-23 14:06:51 +09:00
Neil Booth
7abde2e514 Prepare 1.0.13 2017-07-21 12:40:37 +09:00
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