Neil Booth
3cc5b5ea43
Make COIN env variable mandatory.
...
- make a clean split between the Cash and Segwit flavours of bitcoin
by giving them their own COIN names. They can then both have a NET
of mainnet.
- The previous Bitcoin COIN names no longer exist, and the env var is
now mandatory, so everyone will need to set COIN and NET appropriately
for their flavour of bitcoin and mainnet or testnet.
2017-09-07 13:53:44 +09:00
SuBPaR42
6e357a53c8
Updated Server Name for Bitcoin-Segwit ( #247 )
...
A better (long-term) server address.
2017-09-07 11:31:30 +07:00
Anoxy
76581c3b4e
Added support for Bitbay (BAY) ( #249 )
...
Added support for Bitbay (BAY)
2017-09-07 11:30:07 +07:00
Neil Booth
2684f3b888
Require protocol_version to be given if >= 1.1
2017-09-07 13:20:39 +09:00
Neil Booth
09783aeacc
Accept protocols down to 0.9 for Electrum 1.x clients
...
Fixes #248
2017-09-07 13:13:47 +09:00
Neil Booth
2a955a922a
Improved handler handling
...
- move server.donation_address to the session from controller
- session controls handler map, no longer lives partly on controller
2017-09-07 13:13:34 +09:00
Neil Booth
a978ca6df7
Permit HOST to be a comma-separated list.
...
Update documentation to match.
2017-09-06 20:19:59 +09:00
Neil Booth
37c15f7018
Show protocol version in sessions RPC call
2017-09-06 18:14:52 +09:00
Neil Booth
f2f2b1e7b6
Update protocol documentation
2017-09-06 17:56:23 +09:00
Neil Booth
9c25685eb9
Handle client protocol range requests.
...
Add more tests.
2017-09-06 17:11:18 +09:00
Neil Booth
e7601a23cd
Implement other address methods for scripthash
2017-09-06 16:41:14 +09:00
Neil Booth
135ab68f74
Simple protocol negotiation and setting of handlers
...
It turns out clients pass 0.10 instead of 1.0 as the protocol version.
Distinguish some handlers for 1.0 and 1.1 protocols.
Log protocol version request
Add tests of new library function
2017-09-06 16:24:56 +09:00
Neil Booth
eb91522d20
Merge remote-tracking branch 'github/master'
2017-09-06 15:29:32 +09:00
EagleTM
80f1a8edc0
Update HOWTO.rst: Add iptables example for running on privileged port ( #245 )
2017-09-02 16:26:46 +07:00
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
f8a838c589
Add "hash_function" member to server.features.
...
Update documentation
2017-08-26 15:37:59 +09: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