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
0aa9195fc5
Remove bad onion default peer
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
Neil Booth
55cedfea9c
Have Daemon work with aiohttp 1 and 2
Fixes #163
8 years ago
Neil Booth
628adc97fb
Merge remote-tracking branch 'refs/remotes/github/master'
8 years ago
Neil
991b919301
Merge pull request #164 from romanornr/master
Add Viacoin - Segwit Auxpow
8 years ago
romanornr
7e8141c62d
Add Viacoin - Segwit Auxpow
8 years ago
Neil Booth
9f12379181
Update notes about rocksdb in Python
8 years ago
Neil Booth
594b66236f
Prepare 1.0.5
8 years ago
Neil Booth
8e00affc1a
Fix the diagnostic looping in PeerSession
Fixes #160
8 years ago
Neil Booth
23a408c572
More logging
8 years ago
Neil Booth
9620aa8bb6
Restore dummy NAME and NET
8 years ago
Neil Booth
860a4e8e93
Prepare 1.0.4
8 years ago
Neil Booth
a88fc75610
Tweaks to coins.py
8 years ago
Neil Booth
9a00c9e164
Merge branch 'master' of github.com:kyuupichan/electrumx
8 years ago
Neil
e19c94fd32
Merge pull request #159 from argentumproject/master
Argentum; support for AuxPow
8 years ago
Neil Booth
2650459012
Peer discovery fixes
Change last_connect to mean last connection as its name implies,
not last connection that wasn't bad.
Keep bad peers around for 3 tries.
Improve diagnostic
8 years ago
protonn
122d78d25b
Argentum; support for AuxPow
8 years ago
Neil Booth
79bce5335e
Fix missing self
8 years ago
Neil Booth
fa1a5bd3e4
Prepare 1.0.3
8 years ago
Neil Booth
3236989165
Fix bad peer looping
JWU42 pointed out an issue where peer discovery could get in a
failure loop for bad peers; this fixes the the root cause and
the immediate retries
8 years ago
Neil Booth
7b263c5c49
Prepare 1.0.2
8 years ago
Neil Booth
e4947cb9ef
Sanitize the maximum number of sessions
Reduce the maximum number of sessions to permit if running with
a tight rlimit, to avoid hitting open file limits. Log when
doing so.
Closes #158
8 years ago
Neil Booth
f04ff6f5b3
Don't add_peer to ourself
8 years ago
Neil Booth
8236aaf234
Be more strict on form of features dictionary
8 years ago
Neil Booth
31755e1dac
Update PROTOCOL.rst and PEER_DISCOVERY.rst
8 years ago
Neil Booth
be5397a853
Validate hostnames before accepting a new peer
Don't retain non-public addresses
Closes #157
8 years ago
Neil Booth
7a2f29aabe
Be stricter accepting add_peer requests
- rate-limit onion add_peer requests
- for clearnet peers only accept if the peer resolves to the
source address
8 years ago
Neil Booth
84c201f665
Improve diagnostic
8 years ago
Neil Booth
10a2c8fed5
Update docs
8 years ago
John L. Jegutanis
50a829c371
added raw block tests
8 years ago
John L. Jegutanis
bc31df8ee0
Fix support for Namecoin and Dogecoin, add Zcash support
Closes #83
8 years ago
John L. Jegutanis
a820829e0e
Dynamic header support
Block headers can have a dynamic size that is being indexed on a
new meta file "headers_offsets".
The offsets are 64 bits in order to accommodate coins with big
headers that will accumulate GBs of header data after some years.
Closes #128
8 years ago
Neil Booth
37602d4eae
A couple of tweaks to the prior commit.
8 years ago
John L. Jegutanis
ed7d8a319d
Refactor block parsing API
8 years ago
Neil Booth
127b4de745
Add new RPC method: add_peer
8 years ago
Neil Booth
060d32211f
Check height for all peers
Closes #152
8 years ago
Neil Booth
d198b95798
Reduce new peers per source limit to 2 by default
8 years ago
Neil Booth
9238fe397d
Drop ports from top level of features
8 years ago
Neil Booth
30c91c69e1
Update protocol docs
8 years ago