Commit graph

2978 commits

Author SHA1 Message Date
Alex Grintsvayg
ceaa927ac5 Merge branch 'fix-971-dual-stack'
* fix-971-dual-stack:
  platform ip: ensure daemon retrieves IPv4 address only
2017-10-31 07:00:05 -04:00
Antonio Quartulli
d827b4d5af platform ip: ensure daemon retrieves IPv4 address only
When contacting jsonip.com to retrieve the node external IP,
the connection might be established with IPv6 and thus return
an address belonging to that family.

This address is then used to initialize the external_ip member of
Daemon session, but unfortunately IPv6 is not yet handled well.

Using an IPv6 as external IP is currently breaking parts of the
Daemon resulting in no peer connectivity at all.

We should stick to IPv4 for time being.

http://jsonip.com/about says "ipv4-only":"https://ipv4.jsonip.com"

therefore, change the IP retrieval URL to ipv4.jsonip.com to
make sure the connection is established only using an IPv4 address.

Closes: https://github.com/lbryio/lbry/issues/971
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2017-10-31 06:59:40 -04:00
Jack Robison
db751eabb6
Bump version 0.17.1 --> 0.17.2rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-30 13:11:04 -04:00
Jack Robison
c39568f488
Merge branch 'ordex-dht-fix-close-nodes-list-extension' 2017-10-30 13:10:04 -04:00
Jack Robison
fdaaa0e678
changelog 2017-10-30 13:09:02 -04:00
Jack Robison
e89f3db31b
fix remaining length of close nodes list 2017-10-27 21:46:17 -04:00
Jack Robison
ee90c877c7
Merge branch 'dht-fix-close-nodes-list-extension' of https://github.com/ordex/lbry into ordex-dht-fix-close-nodes-list-extension 2017-10-27 18:38:03 -04:00
Jack Robison
05489a5cee
docs 2017-10-25 18:58:20 -04:00
Jack Robison
203f2f8988
Bump version 0.17.1rc5 --> 0.17.1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-25 17:33:55 -04:00
Antonio Quartulli
673d1c4d43
Extend close nodes list by right amount
When a k-bucket does not contain enough close nodes, the
DHT will look into neighbouring k-buckets in order to entend
the list of returned nodes.

However, the list should not be extended beyond its maximum size.

Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2017-10-26 02:21:24 +08:00
Alex Grintsvayg
c63d368e1c disable sourceclear again 2017-10-25 12:52:41 -04:00
Alex Grintsvayg
9eb40797ea extra word in changelog 2017-10-25 12:37:53 -04:00
Alex Grintsvayg
beca640f89 Merge branch 'prefill_addresses'
* prefill_addresses:
  changes that jack pointed out
  add wallet_prefill_addresses command
2017-10-25 12:37:03 -04:00
Alex Grintsvayg
357f15c5b8 changes that jack pointed out 2017-10-25 12:36:54 -04:00
Alex Grintsvayg
2067180467 add wallet_prefill_addresses command 2017-10-25 12:29:51 -04:00
Alex Grintsvayg
a212e77a12 dont build gh-pages 2017-10-25 12:26:04 -04:00
Jack Robison
6df5de209e
Bump version 0.17.1rc4 --> 0.17.1rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-25 12:08:28 -04:00
Jack Robison
7ebfe77515
Merge branch 'android_tests_refactoring' 2017-10-25 12:06:06 -04:00
Jack Robison
f3d45061e8
fix changelog merge conflict 2017-10-25 12:05:46 -04:00
Jack Robison
e4d2a3d2ec Merge branch 'master' into android_tests_refactoring 2017-10-25 12:01:37 -04:00
Jack Robison
9decdf644d
Bump version 0.17.1rc3 --> 0.17.1rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-25 10:59:43 -04:00
Jack Robison
0c66dfaaaf
bump lbryschema 2017-10-25 10:56:12 -04:00
Jack Robison
2a467d8026
Merge branch 'update_jsonschema' 2017-10-25 10:51:01 -04:00
Jack Robison
e799ad17b4 Merge branch 'master' into update_jsonschema 2017-10-25 10:50:06 -04:00
Jack Robison
3944c98b71
Bump version 0.17.1rc2 --> 0.17.1rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-24 20:48:58 -04:00
Jack Robison
988e54602e
Merge branch 'fix-dht-rpc-id' 2017-10-24 20:48:11 -04:00
Jack Robison
dc09996f43
changelog 2017-10-24 20:26:04 -04:00
Jack Robison
628c46e5d9
catch id validation errors 2017-10-24 20:26:03 -04:00
Jack Robison
edb8928f5c
update tests 2017-10-24 20:25:59 -04:00
Jack Robison
e2259fd8f7
fix dht rpc id length 2017-10-24 20:25:54 -04:00
Jack Robison
78417db553
Bump version 0.17.1rc1 --> 0.17.1rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-24 19:29:05 -04:00
Jack Robison
5919271966
Merge branch 'fix-remove-contact' 2017-10-24 19:26:41 -04:00
Jack Robison
7a4ab73a72
Merge branch 'upnp-fixes' 2017-10-24 19:26:30 -04:00
Jack Robison
5bc856932d
changelog 2017-10-24 19:18:13 -04:00
Jack Robison
9479179259
avoid future contact id parsing bugs by passing the contact id as an arg 2017-10-24 19:17:17 -04:00
Jack Robison
0b771c16ba
fix lbry id for dead contact to replace in _IterativeFindHelper 2017-10-24 19:13:45 -04:00
Jack Robison
7e7ab8f72c
changelog 2017-10-24 19:11:29 -04:00
Jack Robison
95a0653a58
better upnp redirect 2017-10-24 19:11:19 -04:00
Jack Robison
bbc960aaf9
Bump version 0.17.0 --> 0.17.1rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-23 01:44:19 -04:00
Jack Robison
6be63b0bcd
Merge branch 'dht-bug-fixes' 2017-10-23 01:38:32 -04:00
Jack Robison
8e94970b53
changelog 2017-10-23 01:34:40 -04:00
Jack Robison
45adfc533b
fix id of new contact replacing a dead contact 2017-10-23 01:34:34 -04:00
Jack Robison
c9a5512ed4
Merge branch 'startup-fixes' 2017-10-23 01:29:36 -04:00
Jack Robison
d23d4c1d73
fix lbryid length comparison 2017-10-23 01:23:04 -04:00
Jack Robison
4b0082d5bc
changelog 2017-10-23 01:20:02 -04:00
Jack Robison
529a11043b
don't block file manager setup on all the streams being resumed 2017-10-23 01:17:54 -04:00
Jack Robison
4e4eb5e24c
fix external ip 2017-10-23 01:17:25 -04:00
Jack Robison
93b91f8602
block session startup on joinNetwork 2017-10-23 01:16:29 -04:00
Akinwale Ariwodola
e522e7e7f7 Changed AssertionError to ValueError. Skip tests that cannot pass on Android. 2017-10-17 03:15:50 +01:00
Kay Kurokawa
9c66d75c17 add changelog 2017-10-16 15:26:16 -04:00