Commit graph

2098 commits

Author SHA1 Message Date
Kay Kurokawa
915ab668f5 add some tests to make sure file status after reflector server download (make sure in stopped state, and have correct number of blobs) 2017-12-05 13:18:31 -05:00
Kay Kurokawa
63c6d3580d do not yield on add_lbry_file() when obtaining sd blob as reflector server 2017-12-05 13:18:16 -05:00
Kay Kurokawa
95289952b5
No need to set up DummmyRateLimiter for reflector test 2017-12-04 13:08:34 -05:00
Kay Kurokawa
4971ddda78
No need to check for None in reflector test tear down 2017-12-04 13:08:34 -05:00
Kay Kurokawa
ae74d80c8a
add lbry_file_manager to reflector server in functional reflector test, make sure file is added to lbry_file_manager when reflected 2017-12-04 13:08:34 -05:00
Kay Kurokawa
ab667015c4
add lbry_file_manager to reflector server and add files to it 2017-12-04 13:08:33 -05:00
Kay Kurokawa
6218df2a92
make payment_rate_manager in add_lbry_file() an optional argument, initialize it from Session if not specified 2017-12-04 13:08:33 -05:00
Kay Kurokawa
57117baab5
remove ManagedEncryptedFileDownloader.load_file_attributes() move it to EncryptedFileDownloader.set_stream_info() 2017-12-04 13:08:32 -05:00
Jack Robison
b859f7a23f
Bump version 0.19.0rc2 --> 0.19.0rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-29 15:41:23 -05:00
Jack Robison
00edd3cb66
remove unused files 2017-11-29 12:01:39 -05:00
Jack Robison
e3e8dea405
Bump version 0.19.0rc1 --> 0.19.0rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-28 12:59:17 -05:00
Jack Robison
57152547ce
docs 2017-11-28 12:19:19 -05:00
Kay Kurokawa
c007ebd121
Fix test 2017-11-28 11:53:17 -05:00
Kay Kurokawa
50586fa39d
use sd_hash instead of claim_id as a key for Daemon.streams dictionary 2017-11-28 11:53:16 -05:00
Kay Kurokawa
38834a083c
when calling jsonrpc_get, check if you have to file by using the sd_hash instead of claim_id 2017-11-28 11:53:16 -05:00
Kay Kurokawa
70709b4ca4
remove use of name from reflector client, use file name instead 2017-11-28 11:53:15 -05:00
Kay Kurokawa
971c720642
removing claim information from files related API commands 2017-11-28 11:53:15 -05:00
Jack Robison
456c94b3cb
Bump version 0.18.1rc13 --> 0.19.0rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-22 14:38:51 -05:00
Jack Robison
e541f536d2
Bump version 0.18.1rc12 --> 0.18.1rc13
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-22 14:37:00 -05:00
Jack Robison
1819035566
Bump version 0.18.1rc11 --> 0.18.1rc12
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-22 14:12:10 -05:00
Jack Robison
d0581f2cf7
Merge branch 'add-channel-import-and-export' 2017-11-22 14:03:45 -05:00
Jack Robison
200e9ae3d8
Bump version 0.18.1rc10 --> 0.18.1rc11
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-22 14:03:27 -05:00
Jack Robison
086c843068
add channel_list, deprecate channel_list_mine 2017-11-22 13:50:07 -05:00
Jack Robison
d98e0e8110
add channel_import and channel_export 2017-11-22 13:46:34 -05:00
Kay Kurokawa
ed4104820d merge tests.dht into tests.unit.dht 2017-11-16 14:45:42 -05:00
Jack Robison
e651c8269d
Bump version 0.18.1rc9 --> 0.18.1rc10
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-15 14:35:10 -05:00
Jack Robison
a8fa85ac94
Bump version 0.18.1rc8 --> 0.18.1rc9
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-15 09:27:21 -05:00
Jack Robison
c93faa949d
Bump version 0.18.1rc7 --> 0.18.1rc8
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-15 09:17:20 -05:00
Jack Robison
fc68431048
Bump version 0.18.1rc6 --> 0.18.1rc7
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-14 13:13:07 -05:00
Jack Robison
3ffe103824
Bump version 0.18.1rc5 --> 0.18.1rc6
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-14 13:09:19 -05:00
Jack Robison
2f3bfb1a09
Bump version 0.18.1rc4 --> 0.18.1rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-13 14:17:54 -05:00
Jack Robison
b000969ce5
Bump version 0.18.1rc3 --> 0.18.1rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-10 14:23:51 -05:00
Jack Robison
0b13615dc5
pylint 2017-11-10 14:23:14 -05:00
Jack Robison
f65ec2c401
Bump version 0.18.1rc2 --> 0.18.1rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-10 13:16:53 -05:00
Jack Robison
930e965d9c
less verbose exchange rate error 2017-11-10 10:34:36 -05:00
Jack Robison
0cd497d602
Bump version 0.18.1rc1 --> 0.18.1rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-09 15:34:00 -05:00
Jack Robison
949b2dc215
Bump version 0.18.0 --> 0.18.1rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-08 19:57:49 -05:00
Jack Robison
853bb67447
verify source and claim metadata before getting to _publish_stream 2017-11-08 19:50:37 -05:00
Jack Robison
28fea7093f
Bump version 0.18.0rc1 --> 0.18.0
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-08 11:05:18 -05:00
Jack Robison
143224fe0a
Bump version 0.17.2rc11 --> 0.18.0rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-07 23:23:47 -05:00
Jack Robison
e7a0aa28be
Bump version 0.17.2rc10 --> 0.17.2rc11
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-07 23:22:13 -05:00
Jack Robison
8d2e8eac58
Bump version 0.17.2rc9 --> 0.17.2rc10
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-07 15:24:48 -05:00
Jack Robison
f87d6b08c8
remove queued decorator 2017-11-07 15:17:04 -05:00
Jack Robison
5bb08cdf5a
Bump version 0.17.2rc8 --> 0.17.2rc9
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-07 15:15:54 -05:00
Kay Kurokawa
b380f5d344 completely remove unused from_peer field 2017-11-07 09:56:40 -05:00
Kay Kurokawa
9776655c3c remove unneeded if statement in getPeersForBlob 2017-11-07 09:56:40 -05:00
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
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
Ian Chamberlain
20e9ff2902 Delete blob hash from list when blob is deleted 2017-11-05 21:56:54 -05:00