Commit Graph

868 Commits

Author SHA1 Message Date
John L. Jegutanis
bc31df8ee0 Fix support for Namecoin and Dogecoin, add Zcash support
Closes #83
2017-03-25 11:35:55 +09:00
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
2017-03-25 11:35:55 +09:00
Neil Booth
37602d4eae A couple of tweaks to the prior commit. 2017-03-25 11:35:55 +09:00
John L. Jegutanis
ed7d8a319d Refactor block parsing API 2017-03-25 11:35:55 +09:00
Neil Booth
127b4de745 Add new RPC method: add_peer 2017-03-25 11:35:54 +09:00
Neil Booth
060d32211f Check height for all peers
Closes #152
2017-03-25 11:35:54 +09:00
Neil Booth
d198b95798 Reduce new peers per source limit to 2 by default 2017-03-25 11:35:54 +09:00
Neil Booth
9238fe397d Drop ports from top level of features 2017-03-25 11:35:54 +09:00
Neil Booth
30c91c69e1 Update protocol docs 2017-03-22 23:45:26 +09:00
Neil Booth
e0fd64d29a Rate-limit add_peer calls randomly
Prepare 1.0.1
2017-03-22 07:59:56 +09:00
Neil Booth
294212d421 Fix discovery of base of reorgs 2017-03-21 22:17:01 +09:00
Neil Booth
5f56689e9c Don't permit common invalid REPORT_HOST values 2017-03-21 22:17:01 +09:00
Neil Booth
af67536598 Set reorg limit to 8k on testnet 2017-03-21 20:04:51 +09:00
Neil
5c050e1d31 Merge pull request #151 from erasmospunk/master
Set the correct XPUB, XPRV bytes for dogecoin
2017-03-18 11:53:01 +09:00
Neil
081b199832 Merge pull request #149 from pooler/ltcparams
Fix Litecoin parameters
2017-03-18 11:52:35 +09:00
John L. Jegutanis
fe544eae7f Set the correct XPUB, XPRV bytes for dogecoin 2017-03-18 03:27:53 +02:00
pooler
11a3c77fdb Fix Litecoin parameters 2017-03-17 12:16:44 +01:00
Samuel Smith
67c135a194 update raspberrypi3 install procedure (#148)
install stable version of libreadline6 based on comment from MaxTG
2017-03-15 06:29:55 +09:00
Neil Booth
b7e32c0d81 Merge branch 'shsmith-master' 2017-03-14 19:12:39 +09:00
Johann Bauer
f3bffb5bb2 Minimize default config file (#147)
The current config file has a few issues:

 - It suggests that a syntax like `COIN = Bitcoin # comment` would do something else than setting `COIN` to `Bitcoin # comment`
 - It doesn't contain all settings
 - It contains some settings that are not used (e.g. `ELECTRUMX`)

To minimize maintainment overhead, I suggest to keep the default config file small and link to the appropriate documentation that should  be up to date.
2017-03-14 07:42:08 +09:00
shsmith
5ef25976c4 merge samples into contrib 2017-03-12 18:30:44 -07:00
shsmith
730fd56386 contribute notes for Raspberry Pi and Ubuntu 16.04 deployment 2017-03-12 09:35:23 -07:00
Neil Booth
9c6d2f5764 Update ACKNOWLEDGEMENTS 2017-03-11 13:51:51 +09:00
Neil Booth
30bb832ef8 Prepare 1.0 2017-03-05 13:22:09 +09:00
Neil Booth
90d1d2641b Prepare 0.99.4 2017-03-04 11:08:03 +09:00
Neil Booth
42dfd16b14 Add Bitoin Unlimited nolnet 2017-03-04 09:52:47 +09:00
Neil Booth
56130e4a66 Fix uninitialized variable 2017-03-03 08:03:48 +09:00
Neil Booth
27f94cfb04 Take up to 2 peers randomly from each bucket
Bumped up from 1.
Restore STALE_SECS to 1 day
2017-03-01 20:20:30 +09:00
Neil Booth
51c1e9a59b Prepare 0.99.3 2017-03-01 07:32:28 +09:00
Neil Booth
39bcdb1b6a Require Python 3.5.3
3.5.2 has various socket and API issues affecting peer discovery

Closes #135
2017-03-01 07:23:11 +09:00
Neil Booth
be9d063457 Rename function 2017-03-01 06:44:38 +09:00
Neil Booth
31b978f21e Remove debug logging and peers semaphore.
Increase STALE_SECS to 4 hrs.  Will revert to 1 day soon.
2017-02-28 07:27:36 +09:00
John L. Jegutanis
05a74253c1 add some addresses tests (#142) 2017-02-28 06:33:10 +09:00
Neil Booth
85f17b75c8 Remove stray commas 2017-02-27 19:39:22 +09:00
Neil Booth
ddbc13653f Merge branch 'develop' 2017-02-27 19:20:04 +09:00
Neil Booth
2c1481859f More verbose peer logging
Force more reconnects.  Restrict semaphore to 2.
2017-02-27 19:15:07 +09:00
Neil Booth
9bc326430d Import JSONRPC 2017-02-27 19:14:56 +09:00
Neil Booth
e664290670 Merge branch 'master' of github.com:kyuupichan/electrumx 2017-02-27 07:37:25 +09:00
Neil Booth
ac8e38a87c Tweak prior 2017-02-27 07:36:52 +09:00
John L. Jegutanis
6b1b9d01f2 Better handle base58 version bytes and allow for a >1 byte version 2017-02-27 07:36:33 +09:00
John L. Jegutanis
472c738479 fix crash in IRC initialization (#141) 2017-02-27 07:24:20 +09:00
Neil Booth
be95697002 Prepare 0.99.2 2017-02-26 15:29:52 +09:00
Neil Booth
e2d640dcb3 Don't announce self if not public
Show all hosts add_peer gives
2017-02-26 15:26:11 +09:00
Neil Booth
b3005fbb3e Fix typo 2017-02-26 13:18:06 +09:00
Neil Booth
a2c5ecf0a0 Merge branch 'develop' 2017-02-26 10:54:21 +09:00
Neil Booth
b0039a25a7 Prepare 0.99.1 2017-02-26 10:49:27 +09:00
Neil Booth
0145098165 Add debug output
Idea is to help understand #135
2017-02-26 10:42:32 +09:00
Neil Booth
d36d222489 Maintain more than one self-identity
Rather than just retaining our clearnet identity from the environment,
maintain any tor one as well.  This is a little cleaner and avoids
confusion over port assignment when converting to real names.

Fixes #136
2017-02-26 10:22:22 +09:00
Neil Booth
04e7dbe99e Only serve chunks in forward direction
This disconnects bad clients that are on the wrong network
for some reason, before they consume enormous bandwidth.

Closes #132
2017-02-26 10:16:09 +09:00
fr3aker
4c8b5a6439 fix tor coin peers always scheduled for check (#139)
fixes #138
2017-02-26 10:16:08 +09:00