Hugo
3f704be85c
Fix spelling
2018-10-18 14:40:37 +03:00
Lex Berezhny
4ece422f48
No longer inheriting from object and added proper use of super().
2018-08-24 11:37:53 -04:00
Lex Berezhny
607677f98f
iterkeys() -> keys()
2018-08-24 11:37:53 -04:00
Lex Berezhny
69446491b8
pylint and unit test fixes
2018-08-24 11:37:50 -04:00
Lex Berezhny
5520d518b5
DHT py3 compatibility, mostly commenting out implements() and fixing imports
...
cryptstream py3 support, mostly commenting out implements()
lbry_file py3 support, mostly commenting out implements()
file_manager py3 support, mostly commenting out implements()
core py3 support, mostly commenting out implements() and fixing imports
2018-08-24 11:37:25 -04:00
Victor Shyba
4d720370b1
fix where it called the wrong score method
2018-07-17 17:48:25 -03:00
Victor Shyba
5492ab9081
stop requesting peers which doesnt have a blob
2018-07-17 13:22:08 -04:00
Jack Robison
5edd8deb63
fix blob client protocol not tearing itself down properly after a failure
2018-06-18 15:30:35 -04:00
Jack Robison
e671005c3c
update BlobManager to use SQLiteStorage, remove old database functions
...
-remove blob upload/download history
2018-02-13 10:27:50 -05:00
Jack Robison
f0a1adc9c5
whitespace, logging
2017-12-20 20:43:01 -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
Jack Robison
9de4657a4d
fix blob history and callback from _download_succeeded
...
previously _download_succeeded did not block on blob_completed,
presumably because even longer ago it did not block on a deriving
immediate_announce call and thus took a long time to return
2017-09-28 14:04:02 -04:00
Jack Robison
6cbe86d057
rename is_validated() to get_is_verified() to distinguish from verified property
2017-09-20 14:02:34 -04:00
Jack Robison
ffbcd82263
fix redundant blob request to peer
2017-09-20 13:59:29 -04:00
Jack Robison
b6e9aa420c
fix cancelled blob request?
2017-09-20 13:59:28 -04:00
Jack Robison
adf89a9d1a
logging
2017-09-20 13:59:27 -04:00
Kay Kurokawa
e92321a9c1
have BlobFile.open_for_writing() return the writer instead of write and close functions
2017-09-20 13:59:23 -04:00
Kay Kurokawa
a9e6c89693
clean up and clarify in docstring when/where None is returned while searching for peers
2017-08-28 10:46:47 -04:00
Kay Kurokawa
a31b6b192f
Create an optional way of downloading by head blob first in ConnectionManager
2017-08-28 10:46:47 -04:00
Kay Kurokawa
0639bb9865
add support for should_announce feature
2017-08-28 10:43:57 -04:00
Alex Grintsvayg
cdf67de46c
pylint type checking
2017-04-25 14:36:14 -04:00
Alex Grintsvayg
492cbc83c9
pylint
2017-04-19 16:00:39 -04:00
Alex Grintsvayg
7f7a6a619f
tests for windows, simplify pylint
2017-04-19 14:59:06 -04:00
Jack Robison
9744287370
change attribute "uri" to "name"
2017-03-07 18:29:44 -05:00
Job Evers-Meltzer
1b2c46e224
make _download_manager private
2017-01-13 08:19:23 -06:00
Job Evers-Meltzer
f7864e8cb7
Only store the offer explicitly when its sent
...
Ran into a situation where I was recieving an offer response without
something in protocol_offers. I think this was because
get_and_set_rate doesn't always populate that dictionary.
Worried that there still might be issues if the connection is
unreliable: if a response comes in twice it will error or
if a second offer is made without a response to the first
there will be an error.
2016-12-20 10:37:42 -08:00
Job Evers-Meltzer
b64fa51567
fixup long lines
2016-12-07 09:38:34 -05:00
Jack
ea21821558
fix issues with is_generous
...
-stop requesting blobs if price limit is reached and the offer still
has not been accepted
-drop max rate to old flat rate (0.005lbc/mb)
2016-10-20 12:29:55 -04:00
Jack
3f5efb1fa3
fix problems in blobrequester
...
-also move is_generous_host into a conf setting
2016-10-20 01:35:18 -04:00
Jack
19c2264429
clean up
2016-10-13 13:35:55 -04:00
Jack
4f60a98eb2
fix functional tests, add a few unit tests,
...
-add ‘generous’ parameter for NegotiatedPaymentRateManager to turn free
hosting on/off, by default set to true.
2016-10-05 22:58:34 -04:00
Jack
5c391f4bb4
remove unnecessary class
2016-09-30 00:12:17 -04:00
Jack
71b989b29b
update from master
...
resolve merge conflicts:
lbrynet/core/client/BlobRequester.py
lbrynet/core/Peer.py
lbrynet/lbryfilemanager/EncryptedFileManager.py
lbrynet/lbrynet_daemon/Daemon.py
lbrynet/lbrynet_daemon/Publisher.py
2016-09-29 23:34:59 -04:00
Jack
1720cce3b0
negotiated downloads
...
-uploads are still underway
2016-09-27 13:52:44 -04:00
Job Evers-Meltzer
4334cdace1
Refactor blob requester to better seperate out the three requests
...
Each blob requests has three parts
- A request to see what blobs are available
- A request to download and pay for one of those blobs
- A request to negotiate data costs
Before the refactoring all of the code to accomplish this was mixed into
one class. They are now three seperate classes.
There is still a lot of room for improvement, but it is at least better than
it was.
2016-09-25 16:55:55 -07:00
Jack
5dd29da84f
blob upload/download history and BlobPriceAndAvailabilityTracker
2016-09-23 03:02:17 -04:00
Jimmy Kiselak
25e1427a84
fix error that occurred when one connection's download was stopped due to another download finishing
2016-01-22 15:50:18 -05:00
Jimmy Kiselak
33b6b85e72
better error messages in console when funds are exhausted
2015-09-17 01:43:41 -04:00
Jimmy Kiselak
8177119671
Fix how some errors are presented to the user
...
If an invalid stream descriptor hash is entered, abort and
give a useful error.
If a name doesn't resolve, abort and give a useful error.
If a name resolves to something invalid, abort and give a useful error.
2015-09-16 16:27:46 -04:00
Jimmy Kiselak
bb5cd49327
Use named loggers, fix some pep8 formatting mistakes
2015-09-08 15:42:56 -04:00
Jimmy Kiselak
7e4f36e8b4
Make sure errors resulting from connections failing don't make it to the user interface, as they are expected
2015-08-31 10:46:22 -04:00
Jimmy Kiselak
7240ff6b1c
initial commit
2015-08-20 11:27:15 -04:00