Commit graph

4831 commits

Author SHA1 Message Date
Kay Kurokawa
71ebf79939 add argument in DHTPeerFinder.find_peers_for_blob that filters itself from peer list. Use this argument to remove itself from peer list when downloading blobs
do not filter self on peer list
2017-11-07 09:56:40 -05:00
Kay Kurokawa
7e8f3254b1 Add to DHT Node class initialization argument peerPort where it serves blobs, instead of specifying it in announceHaveBlob 2017-11-07 09:56:40 -05:00
Kay Kurokawa
cf1b9b2aa8 add changelog 2017-11-07 09:56:40 -05:00
Antonio Quartulli
965969b856 Don't filter out local node ID when returning peer list
If a node is returning a peer list for a given blob hash
(being this been requested via CLI or via DHT) and it is
part of the resulting peer list, it will filter itself out
before returning the list.

This makes the results across the DHT inconsistent as
different nodes won't include themselves when
responding a findValue/findNode query.

Remove such filtering so that the local node ID is always
included when needed.

Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2017-11-07 09:56:40 -05:00
Alex Grin
1ae3cd1f61
Merge pull request #989 from ian-h-chamberlain/fix-delete-blob-twice
Delete blob hash from list when blob is deleted
2017-11-07 09:30:03 -05:00
Ian Chamberlain
20e9ff2902 Delete blob hash from list when blob is deleted 2017-11-05 21:56:54 -05:00
Jack Robison
8d095ab36f
Bump version 0.17.2rc7 --> 0.17.2rc8
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-04 21:03:46 -04:00
Jack Robison
6d2148c966
changelog 2017-11-04 21:02:00 -04:00
Jack Robison
81a44fa824
Merge branch 'use-shared-queued-deferredsemaphore' 2017-11-04 21:01:38 -04:00
Jack Robison
5506af03d8
Merge branch 'ian-h-chamberlain-fix-test-parallel-connections' 2017-11-04 20:56:15 -04:00
Jack Robison
43ba33fd80
changelog 2017-11-04 20:37:52 -04:00
Jack Robison
a79a00180d
rename variable 2017-11-04 20:37:52 -04:00
Jack Robison
36782e0878
use shared deferredSemaphore for daemon methods decorated with 'queued'
fixes race condition between publish and channel_new
2017-11-04 20:37:46 -04:00
Ian Chamberlain
733e356e55 Fix failing ConnectionManager unit test 2017-11-04 15:15:04 -04:00
Alex Grin
5c2d1ec3c2
We're on discord now. Fixes #986 2017-11-03 18:51:06 -04:00
Jack Robison
022e767bc4
Bump version 0.17.2rc6 --> 0.17.2rc7
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-02 10:53:05 -04:00
Alex Grintsvayg
cc61cc6b17 rename command to utxo_list 2017-11-02 07:14:35 -04:00
Jack Robison
12d88159a1
Bump version 0.17.2rc5 --> 0.17.2rc6
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-01 20:33:08 -04:00
Jack Robison
ccf3959e2f
Bump version 0.17.2rc4 --> 0.17.2rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-01 19:44:52 -04:00
Jack Robison
2542883fde
Bump version 0.17.2rc3 --> 0.17.2rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-01 17:39:37 -04:00
Alex Grin
b7e1742bd4
Merge pull request #979 from lbryio/wallet_list_unspent
add wallet_list_unspent
2017-11-01 17:36:29 -04:00
Alex Grin
fcfde63720
Merge branch 'master' into wallet_list_unspent 2017-11-01 17:35:31 -04:00
Alex Grintsvayg
3152ecfd71 add wallet_list_unspent 2017-11-01 17:29:11 -04:00
Jack Robison
c86db2d846
Bump version 0.17.2rc2 --> 0.17.2rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-01 17:28:07 -04:00
Umpei Kay Kurokawa
62ec404acc
Merge pull request #931 from lbryio/fix_blob_reader_closing
Fixes to Blob (unify way to read from BlobFile, move conf.py BLOB_SIZE  )
2017-10-31 15:44:23 -04:00
Kay Kurokawa
10ac86a99e use FileBodyProducer to read 2017-10-31 15:41:53 -04:00
Kay Kurokawa
a5293de44b adding changelog 2017-10-31 15:41:49 -04:00
Kay Kurokawa
9470b318b0 moved BLOB_SIZE in conf to MAX_BLOB_SIZE constant in blob.blob_file 2017-10-31 15:38:00 -04:00
Kay Kurokawa
51d4668763 fix test 2017-10-31 15:38:00 -04:00
Kay Kurokawa
96d8cb17d9 delete deprecated producer/consumer read methods from BlobFile 2017-10-31 15:38:00 -04:00
Kay Kurokawa
1360345395 use blob.open_for_reading() in StreamBlobDecryptor 2017-10-31 15:38:00 -04:00
Kay Kurokawa
e07c2f7bd8 take read handle as argument instead of file path 2017-10-31 15:38:00 -04:00
Kay Kurokawa
d68ca65e41 warn if reader is garbage collected but not closed, do the same for writer 2017-10-31 15:38:00 -04:00
Umpei Kay Kurokawa
23108585f4
Merge pull request #963 from lbryio/redundant_exchange_apis
Added redundant market feed (continued)
2017-10-31 15:36:23 -04:00
Kay Kurokawa
ea4b6935c9 remove unnecessary use of @property 2017-10-31 15:35:01 -04:00
Kay Kurokawa
cf9f9d0e75 remove unused get_default_market_feed() function 2017-10-31 15:35:01 -04:00
Kay Kurokawa
020a2e0e89 adjust the _online variable to be set on the errback, so any exception will set _online to False 2017-10-31 15:35:01 -04:00
Kay Kurokawa
7e7931fbf1 add Bittrex feed as a redundant feed, add unit test for it 2017-10-31 15:35:01 -04:00
Kay Kurokawa
4411c5c202 add name of feed to log.info 2017-10-31 15:35:01 -04:00
Miroslav Kovar
433547407e Added tests. 2017-10-31 15:35:01 -04:00
Miroslav Kovar
34643b7f95 Added changelog entry. 2017-10-31 15:35:01 -04:00
Miroslav Kovar
aa15f6c4b8 Added redundant market feed (cryptonator). 2017-10-31 15:35:01 -04:00
Alex Grintsvayg
4a9bf58bff wget required 2017-10-31 14:13:42 -04:00
Jack Robison
ae32775cb8
Merge pull request #978 from Aldo-f/patch-1
Update README.md
2017-10-31 12:42:14 -04:00
Jack Robison
ee3a2e88b7
Bump version 0.17.2rc1 --> 0.17.2rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-31 12:28:59 -04:00
Jack Robison
b9e03a7f13
Merge branch 'mirgee-check_connection_bypass_dns' 2017-10-31 12:24:56 -04:00
Jack Robison
cfd4a94450
logging 2017-10-31 12:21:36 -04:00
Jack Robison
f7aa478b9b
remove unused bypass_dns parameter 2017-10-31 12:21:35 -04:00
Jack Robison
3fd542f702
Merge branch 'check_connection_bypass_dns' of https://github.com/mirgee/lbry into mirgee-check_connection_bypass_dns 2017-10-31 12:21:35 -04:00
Alex Grintsvayg
4ea5c14a5a testing deploy changes 2017-10-31 12:12:41 -04:00