Neil Booth
0149f2785f
A few peer handling improvements
based on suggestions from hsmiths
Set transport to None if a connection is lost
Only subscribe to peers if the peer is verified on same network
8 years ago
Neil Booth
9d6b353eec
Fix typo pointed out by hsmiths, thanks
8 years ago
Neil Booth
589f695aaf
Prepare 0.11.2
8 years ago
Neil Booth
68a8835db6
Implement script hash subscriptions
Best considered experimental
Closes #124
8 years ago
Neil Booth
eefa86ffbe
Remove dead code
8 years ago
Neil Booth
140304460d
Remove debug line
8 years ago
Neil Booth
a99e8bf45f
Prepare 0.11.1
8 years ago
Neil Booth
f3cdd97ff9
Report unconfirmed parents correctly.
Also, send a notification to the client if the unconfirmed status
of any parent changes.
Fixes #129
8 years ago
Neil Booth
782479e91c
Merge branch 'develop'
8 years ago
Neil Booth
d29c07f0eb
Prepare 0.11.0
8 years ago
Neil Booth
790755b630
Reduce upper limit on blocks fetched at once
Testnet is lumpy and 2500 can blow up memory
8 years ago
Neil Booth
3f35bc0298
More PEP8 stuff
8 years ago
Neil Booth
33cdfa4fc8
Merge branch 'nmarley-pep8' into develop
8 years ago
Neil Booth
9bd7b5a9f9
Merge branch 'pep8' of https://github.com/nmarley/electrumx into nmarley-pep8
8 years ago
Neil Booth
151da40d5b
Implement peer discovery protocol
Closes #104
DEFAULT_PORTS now a coin property
A Peer object maintains peer information
Revamp LocalRPC "peers" call to show a lot more information
Have lib/jsonrpc.py take care of handling request timeouts
Save and restore peers to a file
Loosen JSON RPC rules so we work with electrum-server and beancurd which don't follow the spec.
Handle incoming server.add_peer requests
Send server.add_peer registrations if peer doesn't have us or correct ports
Verify peers at regular intervals, forget stale peers, verify new peers or those with updated ports
If connecting via one port fails, try the other
Add socks.py for SOCKS4 and SOCKS5 proxying, so Tor servers can now be reached by TCP and SSL
Put full licence boilerplate in lib/ files
Disable IRC advertising on testnet
Serve a Tor banner file if it seems like a connection came from your tor proxy (see ENVIONMENT.rst)
Retry tor proxy hourly, and peers that are about to turn stale
Report more onion peers to a connection that seems to be combing from your tor proxy
Only report good peers to server.peers.subscribe; always report self if valid
Handle peers on the wrong network robustly
Default to 127.0.0.1 rather than localhost for Python <= 3.5.2 compatibility
Put peer name in logs of connections to it
Update docs
8 years ago
Neil Booth
251dca4da9
Update match groups
8 years ago
Neil Booth
4dcd7f25a5
Further fix regex for hex chars
8 years ago
Neil Booth
09b2df1179
Prepare 0.10.19
8 years ago
Neil Booth
82d57dc90f
Accept IPv6 addresses in DAEMON_URL
Fixes #126
8 years ago
Neil Booth
60ad792179
Update docs
8 years ago
Nathan Marley
a03665696c
recommendations from pycodestyle (pep8 style)
8 years ago
Neil Booth
09c4bdc5c3
Prepare 0.10.18
8 years ago
Neil Booth
6db9cb967c
Require attributes to be specified for a coin
8 years ago
Neil Booth
23ebdecc5d
Merge branch 'master' into develop
8 years ago
Neil Booth
13cf80a326
Re-enable bandwidth throttling
8 years ago
shsmith
169f5df91f
update hostnames ( #120 )
8 years ago
Neil Booth
f1251766b6
Merge branch 'master' of github.com:kyuupichan/electrumx
8 years ago
Neil Booth
9130044c3b
Merge branch 'develop'
8 years ago
Neil Booth
ba45e001fa
Prepare 0.10.17
8 years ago
Neil Booth
1856cbe6c0
Coin fixes/cleanup (erasmospunk)
2 out of 3 from #118
8 years ago
Neil Booth
a019fde853
Show uptime in RPC getinfo result
8 years ago
Neil Booth
184fc615bd
Improve clarity about current daemon URL
8 years ago
TheLazieR Yip
0e51c80156
Add PEERS for DASH ( #117 )
* Add PEERS for DASH
* Update PEER_DEFAULT_PORTS for DASH Testnet
8 years ago
Neil Booth
2d126f7436
Prepare 0.10.16
8 years ago
Neil Booth
055f4d67b0
Merge branch 'master' of github.com:kyuupichan/electrumx
8 years ago
Neil Booth
97557fa437
Don't send batches for now
8 years ago
lahlor
9c94fa9232
Change version number ( #114 )
8 years ago
Neil Booth
60711956d5
Prepare 0.10.15
8 years ago
Neil Booth
616bcf6bfd
Add daemon_url RPC call and document it.
Closes #111
8 years ago
Neil Booth
b23b19473c
Sanity check on basic IRC reported settings
Closes #110
8 years ago
Neil Booth
eff5d3d7e4
Force JSONRPCv2
Temporary backwards compat hack for old Coinomi wallets
8 years ago
John L. Jegutanis
fd19bddeb1
fix crash due to a missing env variable in irc.py and a typo fix ( #112 )
Thank you!
8 years ago
Neil Booth
cd078be882
Fix some typos
8 years ago
Neil Booth
d0ecdcc5bc
Add docs/PROTOCOL.rst
8 years ago
Neil Booth
a49137eb05
Fix typo
8 years ago
Neil Booth
961e0e2a1a
Merge branch 'develop'
8 years ago
Neil Booth
4a8cec9988
Prepare 0.10.14
8 years ago
Neil Booth
0202b2210a
Add peer discovery document
8 years ago
Neil Booth
06c8eda161
Preparations for peer discovery
DEFAULT_PORTS is a now a coin property.
Other miscellaneous updates to get things closer
8 years ago
Neil Booth
f43c08d979
Log fatal messages once only
8 years ago