sam
5b475751f1
Correct 'seessions' (sessions) ( #220 )
8 years ago
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.
8 years ago
Justin Turner Arthur
28764936c4
Remove semicolons and a couple unused variables. ( #212 )
8 years ago
Neil Booth
23b121e799
Prepare 1.0.15
8 years ago
Neil Booth
75feac5d1e
Check prior header hashes to detect forks
8 years ago
Neil Booth
3eef0ba4cf
Rename block_full to block.
Retain the raw block in the named tuple.
8 years ago
Neil Booth
d593dd2c6e
Prepare 1.0.14
8 years ago
Neil Booth
2ade5fce9c
Revert "More logical mempool hash handling"
This reverts commit 87d24f38dc
.
8 years ago
Neil Booth
7abde2e514
Prepare 1.0.13
8 years ago
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.
8 years ago
Neil Booth
3f9e2363c2
Prepare 1.0.12
8 years ago
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
8 years ago
Neil Booth
858bac217d
Move DB UTXO code into one place.
8 years ago
Neil Booth
2f26e81629
Implement history compression with tests.
Still to do: running compression in background when the flush
count reaches a certain level
8 years ago
Neil Booth
2940ea3199
Add new function get_history_txnums
8 years ago
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.
8 years ago
Neil Booth
0cf4210a66
Prepare 1.0.11
8 years ago
Neil Booth
4cc3720589
Disable IRC for bitcoin mainnet
Only require IRC_CHANNEL if IRC_PREFIX is given.
8 years ago
Neil Booth
08dbbf217a
client_version must be a tuple
Fixes #180
8 years ago
TheLazieR Yip
2e87d49e04
Add more comment on DashElectrumX.server_version
8 years ago
TheLazieR Yip
e99400c225
Update DashElectrumX as commented
8 years ago
TheLazieR Yip
4da2278729
Force server string response for Electrum-Dash 2.6.4 client
8 years ago
TheLazieR Yip
f179c67935
Add support for Dash Masternode methods
+ Add DashDaemon class
+ Add DashElectrumX class
+ Update coin configurations for Dash
8 years ago
TheLazieR Yip
b0e23e903d
Allow custom ElectrumX class
8 years ago
John L. Jegutanis
a4e4f80ad7
Allow custom Daemon and BlockProcessor classes
8 years ago
LaoDC
9e34bf8583
reverted and made the version split isolated within the banner logic only as not to affect other parts of the code.
8 years ago
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
8 years ago
LaoDC
5e92feb8a6
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
8 years ago
Neil Booth
2fe67932c5
Prepare 1.0.10
8 years ago
Neil Booth
e9acb685ab
Display hosts in diagnostic
8 years ago
Neil Booth
d216d5111b
Prepare 1.0.9
8 years ago
Neil Booth
8a2821d542
Reject invalid hostnames in Env
8 years ago
Neil Booth
b6d8b86dd6
Ignore hosts not appearing in their own features
8 years ago
Neil Booth
c0ff2c0c20
Bump to 1.0.8b
8 years ago
Neil Booth
f3de91180e
Add tests for server/env.py
8 years ago
Neil Booth
30df09534f
Bump to 1.0.8a
8 years ago
Neil Booth
2c43e89b05
Only set last_good if successfully verified
Rename last_connect to last_good
8 years ago
Neil Booth
e0a79c313c
Prepare 1.0.8
8 years ago
Neil Booth
7b17d99c5a
Put log on one line
8 years ago
Neil Booth
9f27ea875c
Fix peer replacement logic
- drop the IP address peer
- update the remaining peer with fresh info
8 years ago
Neil Booth
2656fd78a4
Clarify that we may not have a clearnet peer
8 years ago
Neil Booth
e96b8f0421
Prepare 1.0.7
8 years ago
Neil Booth
a94d320e5d
New feature: force peer discovery via proxy
Set FORCE_PROXY to non-empty to force peer discovery to go
through the proxy. See docs/ENVIRONMENT.rst
Wait for an attempt at proxy discovery to be made before beginning
peer discovery.
8 years ago
Neil Booth
77a441ad06
Improve proxy handling
Have a background proxy detection loop; removes need to check
specific peers at startup.
Consider proxy down once attempts to use it fail 3 times in a row.
Regularly attempt to rediscover a proxy if it is down.
8 years ago
Neil Booth
178de6c396
Tighten restrictions on HOST
- private IP not allowed if intending for public use
- localhost not allowed
8 years ago
Neil Booth
81e6577838
Catch address resolution failure exceptions
8 years ago
Neil Booth
321315ace0
Fix typo
8 years ago
Neil Booth
d1894356d0
Prepare 1.0.6
8 years ago
Neil Booth
9abc1dc11e
REPORT_HOST no longer defaults to HOST
Cleanup of identity handling. It is now possible to specify
a Tor identity and no clearnet identity.
8 years ago
Neil Booth
abba36ac6c
Relax the get_chunk restriction based on client
Closes #162
8 years ago