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
Jack
4d79a7828c
more cleaning up
2016-09-21 21:36:06 -04:00
Jack
130f9cfc4d
api sessions
...
-user starts a httpauthsession with an api key and name
-user initializes jsonrpc hmac secret to sha256 of session id
-server sends new random hmac secret after each api call
-a user without an authenticated session will get a authorization error
2016-09-20 16:58:30 -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
Jack Robison
eed7c54aaf
Merge pull request #146 from kaykurokawa/fix_lbryum_getbalance
...
Use new exclude_claimtrietx option in lbryum getbalance command, fix maturity use
2016-09-01 01:24:08 -04:00
Jack Robison
9c66108dc5
Merge pull request #142 from lbryio/skip-dust
...
skip dust transactions
2016-08-30 20:29:56 -04:00
kkurokawa
558da0a027
Using new exclude_claimtrietx option in lbryum's getbalance command. Fixing incorrect use of maturity.
2016-08-29 22:33:10 -04:00
Jack
1671034330
fix json bug
2016-08-29 14:33:56 -04:00
Jack
56e2d77039
fix _send_name_claim json
2016-08-29 13:44:18 -04:00
Jack Robison
319e7ecc61
Merge pull request #131 from lbryio/content_type
...
change content-type to content_type, refactor metadata validation
2016-08-28 01:29:51 -04:00
Jack
8895d21abf
skip dust transactions
2016-08-27 02:42:20 -04:00
Jack
710e549c03
add get_all_verified_blobs
2016-08-26 00:32:33 -04:00
Jack
80837cb040
Merge branch 'master' into content_type
...
fix conflicts:
lbrynet/lbrynet_daemon/LBRYPublisher.py
2016-08-25 17:59:20 -04:00
Jack
128b32c62c
even less noisy logs
2016-08-22 19:56:42 -04:00
Jack
95f4b29be5
noisy log
2016-08-22 18:59:17 -04:00
Jack
5727c708cf
fix get_transaction
...
previously get_tx_json was only in LBRYumWallet
2016-08-22 18:43:52 -04:00
Jack
e49f0f99a1
LBRYcrdWallet update claim fix
...
-fix log line that could raise an exception
-json encode value sent to lbrycrd-cli updateclaim
2016-08-22 16:57:22 -04:00
Jack
80af66e852
Merge branch 'master' into reflector
...
# Conflicts:
# lbrynet/core/log_support.py
2016-08-21 01:12:29 -04:00
Jack Robison
ac63849b49
Merge pull request #132 from lbryio/fix-get-history
...
fix get_history in lbrycrdwallet
2016-08-21 00:07:41 -04:00
Jack
7a54894015
debugging stuff
2016-08-19 02:41:23 -04:00
Jack
929db15214
fix get_history in lbrycrdwallet
2016-08-18 22:15:49 -04:00
Jack
c046cd02d5
call blob_completed after receiving blob
2016-08-18 05:58:13 -04:00
Jack
adc2eab6da
log request dict
2016-08-18 05:36:01 -04:00
Jack
edbda1696e
logging fire hazard
2016-08-17 20:24:48 -04:00
Jack
ece218785c
reduce logging to sub fire hazard levels
2016-08-17 20:20:03 -04:00
Jack
0f7ca8f24e
move metadata and validator classes into their own directory
2016-08-17 12:28:15 -04:00
Jack
68b8112af0
Merge branch 'master' into content_type
2016-08-17 03:04:14 -04:00
Jack Robison
1932fd72e3
Merge pull request #123 from lbryio/add-heartbeat
...
Add basic analytics api and heartbeat event
2016-08-17 01:34:31 -04:00
Jack
e8fe1cd14d
more test fixes
2016-08-15 18:39:09 -04:00
Jack
75d1fa585c
fix tests
2016-08-15 18:30:14 -04:00
Jack
072ff4b02e
fix tests
2016-08-15 18:13:36 -04:00
Jack
d8c4e2a72e
whoops
2016-08-15 17:54:43 -04:00
Jack
66396de6a3
remove as_json and serialize
2016-08-15 17:41:38 -04:00
Jack
1ca9f575ef
decorator prettiness
2016-08-15 17:07:50 -04:00
Jack
272e074a15
change content-type to content_type, make changing metadata easier
2016-08-14 01:00:49 -04:00
Job Evers
9a738c3783
Add basic analytics api and heartbeat event
2016-08-12 13:37:26 -05:00
Job Evers-Meltzer
9b1d5213a6
improve logging
2016-08-12 10:44:37 -05:00
Job Evers-Meltzer
f9ed9a4505
fixup logging some more
2016-08-12 10:42:31 -05:00
Jack
6a1a9ef6bc
encode claim id to be shown in log
2016-08-09 03:25:20 -04:00
Jack
ef1c059079
clean up log line
2016-08-09 03:18:44 -04:00
Jack
a05ab37373
Merge branch 'master' into update-claim
...
# Conflicts:
# lbrynet/lbrynet_daemon/LBRYDaemon.py
2016-08-09 03:09:06 -04:00
Jack
7ea88cfd22
crudely fix loggly import problem
2016-08-09 03:01:33 -04:00
Jack Robison
8d14fe6a90
Merge pull request #113 from lbryio/log-to-loggly
...
Log to loggly
2016-08-09 02:30:55 -04:00
Jack
b6da1d7769
decode and reverse claim id for updateclaim in lbryum
2016-08-09 01:26:55 -04:00
Jack
b7052bba95
rename variable
2016-08-08 21:34:05 -04:00
Jack
4a5618bcc4
get update claim working with lbryumwallet
2016-08-08 21:32:39 -04:00
Job Evers-Meltzer
fccdf32c9f
Remove all unused imports; add check to pylint
2016-08-08 15:42:35 -05:00
Jack
c474411e1b
delete bad records that got into name_metadata
2016-08-08 16:35:55 -04:00
Job Evers-Meltzer
9a9b540701
Move some ServerRequestHandling logging to debug level
2016-08-08 15:04:50 -05:00
Job Evers-Meltzer
b8ddbb9a26
Add loggly logger
...
It configured twice, once right at startup without the lbry id and then
after the settings database is available it gets reconfigured with the
lbry id and a session id.
2016-08-08 15:02:36 -05:00
Job Evers-Meltzer
bc3c2b96ed
disable noisy loggers
2016-08-08 14:59:30 -05:00
Job Evers-Meltzer
622dc87d84
Remove log handlers with the same name
...
Also renames functions to follow underscore convention
2016-08-08 14:57:49 -05:00
Jack
6fe878bdb9
make load_from_hex a class method
2016-08-08 03:18:32 -04:00
Jack
72acfa1e0c
add support_claim
2016-08-08 02:32:56 -04:00
Jack
f32250f431
whoops
2016-08-08 01:54:41 -04:00
Jack
1523cad044
refactor get_claim_info
2016-08-08 01:46:19 -04:00
Jack
f69753f6a0
add get_claims_for_name
2016-08-08 01:42:37 -04:00
Jack
3b98508986
clean up claim_name function
2016-08-07 16:13:47 -04:00
Jack
36ebfc42d9
update from master
2016-08-06 21:44:14 -04:00
Job Evers-Meltzer
db8daf20b7
quiet noisy log statement
2016-08-05 05:50:24 -05:00
Jack
28c4e38272
make line neater
2016-08-04 23:27:25 -04:00
Jack
b29377dc2b
keep claim id history
2016-08-04 23:27:10 -04:00
Jack
b0e14fae43
update over existing claim in publish()
2016-08-04 23:08:54 -04:00
Jack
dfa68f126b
get update_name in lbrycrdwallet working
2016-08-04 20:43:39 -04:00
Jack
4570f68727
add claim_id to lbry_file and to get_claim_info
2016-08-04 18:44:12 -04:00
Jack
4705acba55
use lbryum updateclaim
2016-08-04 02:22:10 -04:00
Jack
64e9ce2bfa
comments about the upnp redirects
2016-08-03 17:44:41 -04:00
Jack
3af8b7bd0c
use upnp redirects if they're already set
2016-08-03 01:27:40 -04:00
Jack
b83dce2cb3
no tricky characters
2016-07-28 18:48:29 -04:00
Jack
de4ddd578f
improve readability of metadata and fee requirements
2016-07-28 15:24:20 -04:00
Jack
5dd68a7ed4
add get_claim_info, clean up _get_stream_info_from_value
2016-07-28 14:55:17 -04:00
Job Evers-Meltzer
295e427abe
bug fix: check if fee is in metadata before loading
2016-07-28 12:04:25 -05:00
Job Evers
15d276b0bc
fix case where to and from currencies are the same
2016-07-28 11:43:20 -05:00
Jack
415495fc16
LBRYExchangeRateManager
2016-07-28 05:30:13 -04:00
Jack
12b2bbfa26
make sure claimed ver is true
2016-07-28 02:36:07 -04:00
Jack
4ade80c8a9
clean up metadata and fee
2016-07-28 02:19:45 -04:00