Job Evers-Meltzer
3a91896d8a
track the amount of data uploaded
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
c104ed3f8b
better time handling in tests
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
2e59e5e3b8
extract individual functions
2016-10-20 11:16:36 -07: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
a9ae1a1016
fix bug where support claim is returned when it shouldn't be
2016-10-20 11:15:35 -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
Job Evers
6b7d575e95
use lbry.io to check for an internet connection
2016-10-17 20:11:08 -05:00
Alex Liebowitz
0dd9aa0d67
Update error that daemon catches for malformed metadata
...
Now jsonschema.ValidationError instead of AssertionError
2016-10-14 10:37:19 -04:00
Jack Robison
32a973943f
Merge pull request #173 from lbryio/blob-prices
...
Blob prices
2016-10-13 14:59:26 -04:00
Jack
19c2264429
clean up
2016-10-13 13:35:55 -04:00
Jack
88be425ab2
fix pylint errors
2016-10-05 23:24:22 -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
Job Evers-Meltzer
0ecfad0ae9
add configuration to LBRYumWallet
2016-10-04 13:58:44 -05:00
Jack
180d981ed8
fix more functional tests
2016-10-03 16:37:27 -04:00
Jack
fd9bc6214a
fix functional tests
2016-10-03 15:40:27 -04:00
Jack
967700dc28
BlobRequestHandler and Strategy tests
2016-10-03 02:44:58 -04:00
Jack
5e4e619708
squelch loud log
2016-10-01 15:20:19 -04:00
Jack
d741c705cd
add some tests, don't use lighthouse for cost ests
2016-10-01 01:09:27 -04:00
Jack
d83abd81f8
job's comments
2016-09-30 14:26:13 -04:00
Jack
8d961d6ce6
add get_availability
2016-09-30 13:28:01 -04:00
Jack
c130879ef7
frontload bug
...
divide availability adjusted price by frontload factor, which will be
close to 1 while index is low and close to 2 when index is high - the
reduction approaches 50% as index goes up.
2016-09-30 00:36:23 -04:00
Jack
5c391f4bb4
remove unnecessary class
2016-09-30 00:12:17 -04:00
Jack
b853656aa6
Merge branch 'master' into blob-prices
...
# Conflicts:
# lbrynet/core/server/BlobRequestHandler.py
2016-09-30 00:11:53 -04:00
Jack Robison
8222f940b4
Merge pull request #177 from lbryio/blob-request-handler-refactor
...
refactor BlobRequestHandler
2016-09-29 23:52:14 -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
4727ee0403
Merge branch 'master' into refactor-blob-requester
2016-09-29 12:48:34 -04:00
Job Evers-Meltzer
d05bbea131
refactor BlobRequestHandler
2016-09-28 17:00:34 -07:00
Jack
b671a3c2ba
Merge branch 'master' into blob-prices
2016-09-27 23:59:14 -04:00
Jack
1cc6b7658c
get uploads working
...
-add error catching in exchange rate manager
-add free data on first request with default negotiation strategy
2016-09-27 23:56:08 -04:00
Job Evers-Meltzer
d1b06c3688
more fixes
2016-09-27 11:18:52 -07:00
Job Evers-Meltzer
7dbeb1f2cf
Remove LBRY prefix from class and module names
...
This is the result of running:
grep -RlI LBRY . | xargs sed -i 's/LBRY\([A-Z]\)/\1/g'
2016-09-27 11:18:35 -07:00
Jack
1720cce3b0
negotiated downloads
...
-uploads are still underway
2016-09-27 13:52:44 -04:00
Job Evers-Meltzer
078b254d1d
rename files to remove LBRY prefix
2016-09-25 18:11:23 -07:00
Job Evers-Meltzer
6057dc0804
whitespace
2016-09-25 17:18:29 -07: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 Robison
bbcecea28d
Merge pull request #165 from lbryio/get-my-claim
...
add get_my_claim, remove is_mine from get_claim_info response
2016-09-24 01:01:51 -04:00
Jack
a936782ddc
fix amount formatting between get_claim_info and get_my_claim
2016-09-24 00:58:54 -04:00
Jack
7ac0fc5a24
convert amount
2016-09-24 00:49:03 -04:00
Jack
e115158f86
docstring
2016-09-23 03:04:59 -04:00
Jack
bf34fa39b4
unused import
2016-09-23 03:03:15 -04:00
Jack
5dd29da84f
blob upload/download history and BlobPriceAndAvailabilityTracker
2016-09-23 03:02:17 -04:00
Jack
492fc510fa
move _get_my_unspent_claim to function
2016-09-21 22:10:19 -04:00
Job Evers-Meltzer
98d02b3fce
[ci skip] add newlines
2016-09-19 12:07:47 -07:00
Jack
3ae0664fa9
use prettier file format for daemon conf file
2016-09-16 00:14:25 -04:00
Jack
fcfed3f441
add get_my_claim and get rid of is_mine in get_claim_info
2016-09-15 20:15:20 -04:00
Jack
13cbe0fd42
fix appveyor error
2016-09-14 23:03:18 -04:00
Jack
b010192f8e
improve logging
2016-09-14 22:28:59 -04:00
Jack
3e45449e8c
return unconfirmed balance
2016-09-12 13:16:56 -04:00
Jack
0f0afadc94
add 'height' parameter to get_block
2016-09-09 00:48:54 -04:00
Alex Liebowitz
900eeb177a
Add address_is_mine() API method
2016-09-02 01:27:30 -04:00