Commit graph

587 commits

Author SHA1 Message Date
Kay Kurokawa
e0985695ac some pep8 fixes 2017-08-28 10:46:47 -04:00
Kay Kurokawa
e2e28338f3 in ConnectionManager, be consistent and initialize conf values in __init__ 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
c8bf1d8908 should_announce should be True by default 2017-08-28 10:43:57 -04:00
Kay Kurokawa
0494b11001 remove last_announce_time 2017-08-28 10:43:57 -04:00
Kay Kurokawa
0639bb9865 add support for should_announce feature 2017-08-28 10:43:57 -04:00
Kay Kurokawa
7e95169fbe add get_head_blob_hash() function in DownloadManager 2017-08-28 10:43:57 -04:00
Kay Kurokawa
c0a2c6c830 remove blob manager reliance on HashBlob classes 2017-08-28 10:43:57 -04:00
Kay Kurokawa
8955838191 migrate blob database to have should_announce and last_announce_time 2017-08-28 10:43:57 -04:00
Jack Robison
8786133cd4
Revert "fix BlobFile._close_file"
reverts 5d24f7
2017-08-15 17:48:56 -04:00
Jack Robison
5d24f75ce2 fix BlobFile._close_file 2017-08-15 12:34:00 -04:00
Umpei Kay Kurokawa
34ed2467f2 Merge pull request #829 from lbryio/fix_abandon
Expose abandon by txid/nout in Daemon
2017-08-14 22:51:39 -04:00
Jack Robison
09d336bd0c
don't block blob_completed on the blob being announced
this considerably slows down the rate at which reflector server can
receive blobs
2017-08-10 13:53:10 -04:00
Alex Grintsvayg
02d4444780 fixed shutdown messages 2017-08-09 19:10:11 -04:00
Kay Kurokawa
4e8d8dfc23 Expose abandon by txid/nout in Daemon 2017-08-08 13:55:03 -04:00
Jack Robison
c5fe8b5381
add claim_send_tip 2017-08-04 10:48:13 -04:00
Jack Robison
7b93073f7b
Merge branch 'master' into remove_tempblobmanager 2017-08-03 22:26:35 -04:00
Zestyr
2f2b27e872
Remove old float formatting 2017-07-31 10:38:20 -04:00
Kay Kurokawa
79d25f710d remove base BlobManager class 2017-07-27 13:38:40 -04:00
Kay Kurokawa
d5664efdbf no longer allow initialization of TempBlobManager in Session 2017-07-27 11:38:29 -04:00
Kay Kurokawa
f9b728530e Remove TempBlobManager 2017-07-27 11:38:23 -04:00
hackrush
ecd602e5fb Added validation for currencies.
Now while setting currency via API/CLI it is checked that the user has
not entered any currency other that LBC, BTC or USD.

Fixes #778
2017-07-24 16:38:15 -04:00
Kay Kurokawa
15d672bfe0 fix if statment for resolving certificate 2017-07-20 14:05:00 -04:00
Kay Kurokawa
fa1ebc995c fix if statement causing claim with certificate to not get cached 2017-07-20 12:38:06 -04:00
Kay Kurokawa
e4df0bdb5f create UnknownOutpoint exception and use it 2017-07-17 12:17:35 -04:00
Kay Kurokawa
3cd972a4da fix UnknownNameError message 2017-07-17 12:01:20 -04:00
Kay Kurokawa
24035406d6 have claim_show no longer handle name argument, do not catch exceptions here as they will be caught in Wallet 2017-07-17 12:01:20 -04:00
Kay Kurokawa
21c1786dc6 rename Wallet.get_claim() to get_claim_by_claim_id() 2017-07-17 12:01:20 -04:00
Jack Robison
7f36bed79d
increase third party logger levels 2017-07-14 14:29:12 -04:00
Jack Robison
4c7c94e190
fix loggly setup 2017-07-14 14:29:02 -04:00
Jack Robison
142d30bbcf
fix HTTPSHandler 2017-07-14 14:29:01 -04:00
Kay Kurokawa
4bebfe9e25
fix malformed supports and amount in cache 2017-07-14 12:53:40 -04:00
Kay Kurokawa
cbd85cd7d8
DRY fix for _handle_claim_result 2017-07-14 12:53:39 -04:00
Jack Robison
65bc93f2fe raise error on negative point reservation 2017-07-07 16:43:13 -04:00
Kay Kurokawa
4019f2a2e1 fix problems with DownloadManager startup and stop 2017-07-05 16:33:02 -04:00
Kay Kurokawa
be75c1bc5b break up GetStream.start() function further for testing 2017-07-05 16:33:02 -04:00
Kay Kurokawa
fc40f5525a add download_sd_blob timeout to GetStream 2017-07-05 16:33:02 -04:00
Kay Kurokawa
bd4dd8e114 add timeout to download_sd_blob and StandaloneBlobDownloader 2017-07-05 16:33:02 -04:00
Kay Kurokawa
1c1b5096be use LoopingCall in SingleProgressManager to simplify it 2017-07-05 16:33:02 -04:00
Jack Robison
e71389c7e3 update lbryum imports 2017-06-27 19:02:25 -04:00
Kay Kurokawa
14b2bb3019 add test for BlobManager 2017-06-23 10:24:27 -04:00
Kay Kurokawa
f9b4d46599 work on removing manage from BlobManager and simplify blob deletion 2017-06-23 10:24:27 -04:00
Jack Robison
bc34c22e58 update daemon settings and settings_set 2017-06-21 22:54:47 -04:00
Kay Kurokawa
59893e8fa8 fix typo which may not shut down blob_tracker 2017-06-16 14:00:08 -04:00
Jack Robison
9c88f820f9 add change_address param to publish 2017-06-12 13:43:15 -04:00
Jack Robison
c56ac12913 add claim_send_to_address 2017-06-12 10:30:18 -04:00
Jack Robison
ea0c6eca32 multi resolve 2017-06-09 14:48:55 -04:00
Jack Robison
2cfd29564b add resolution exception types 2017-06-09 14:48:55 -04:00
Jack Robison
82118e6692 fix blob manager db race condition 2017-06-09 14:09:17 -04:00
Kay Kurokawa
a577f38d80 add claim address as an option to publish API command 2017-06-04 19:26:28 -04:00
Jack Robison
96927ec985 remove lbrynet.metadata 2017-06-02 11:50:50 -04:00
Kay Kurokawa
da8256ad52 catch UnknownNamError instead of base Exception for resolve command 2017-06-01 16:26:03 -04:00
Jack Robison
cd67ca6ce3 remove clean_bad_records 2017-05-11 14:31:50 -04:00
Jack Robison
ecaa5249b4 migrate name metadata table 2017-05-11 14:31:50 -04:00
Jack Robison
ca092262fb fix name metadata db race condition 2017-05-11 14:31:50 -04:00
Jack Robison
12097e3bfa broadcast transactions and claim certificates as defer succeed 2017-05-11 14:31:50 -04:00
Jack Robison
632462e1d5 only save stream claims with a sd hash to name_metadata table 2017-05-11 14:19:52 -04:00
Jack Robison
56e214feb6 fix save_name_metadata 2017-05-10 11:26:14 -04:00
Jack Robison
2a8a984efa add claim and uri caching to wallet and wallet storage 2017-05-03 17:14:36 -04:00
Alex Grintsvayg
113f8ff2d7 fix set_build and version 2017-05-03 13:00:01 -04:00
Jack Robison
a9868a4f17 fix lbryum shut down 2017-05-01 21:09:23 -04:00
Jack Robison
dcdd4d8fd6 wallet config bug 2017-05-01 21:09:23 -04:00
Alex Grintsvayg
2353dbcb00 refactor analytics 2017-04-26 14:19:03 -04:00
Alex Grintsvayg
cd16383fa6 use git version when in dev 2017-04-26 14:18:41 -04:00
Alex Grintsvayg
cdf67de46c pylint type checking 2017-04-25 14:36:14 -04:00
Jack Robison
dffaf745ec wait for wallet subscriptions 2017-04-24 00:19:46 -04:00
Jack Robison
dc7193bb8f Merge pull request #619 from wallermadev/master
Adding functionality to check the balance of a given wallet.
2017-04-23 20:27:36 -04:00
Mathew WAller
c9c88055c3 Requested changes 2017-04-23 18:33:06 +01:00
Jack Robison
1ecb32b3ed less intensive blob availability check 2017-04-21 13:32:59 -04:00
Mathew WAller
6e37a0536a Removing pylint issues 2017-04-21 02:59:40 +01:00
Mathew WAller
8f0f27da1a Adding functionality to check the balance of a given wallet. 2017-04-21 02:16:26 +01: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
bbfb5a7853 include schema version in version() response 2017-04-19 13:54:38 -04:00
Jack Robison
6ccab8bcb8 get availability by uri 2017-04-10 14:29:24 -04:00
Alex Grintsvayg
8db7c37fa7 exploring dht 2017-04-10 13:45:43 -04:00
Jack Robison
a43127fffc add channel_new logging, fix docstring 2017-04-10 11:01:28 -04:00
Jack Robison
9531bdf396 fix file_list for files with abandoned claims 2017-04-09 21:44:58 -04:00
Jack Robison
04c119543f fix resolution and file_list bugs 2017-04-09 17:49:31 -04:00
Jack Robison
ccc94a0db9 update wallet for new lbryum functionality 2017-04-06 20:50:29 -04:00
Jack Robison
45b3837638 use ClaimDict.source_hash in utils.get_sd_hash 2017-04-06 20:50:28 -04:00
Kay Kurokawa
931038d478 bug fixes for lbryschema integration 2017-04-04 20:30:51 -04:00
Kay Kurokawa
ca041b5dc4 lbryschema integration 2017-04-04 20:30:51 -04:00
Alex Grin
5ec891c9ac Merge pull request #572 from lbryio/minor-wallet-updates
Minor wallet updates
2017-03-31 10:30:48 -04:00
Alex Grin
32e2ee8bf5 Merge pull request #569 from lbryio/fix_update
Remove update_metadata() function
2017-03-29 13:10:15 -04:00
Alex Grintsvayg
1916b990b7 typo 2017-03-28 17:14:13 -04:00
Alex Grintsvayg
84d9461deb Minor wallet updates 2017-03-28 17:13:59 -04:00
Alex Grintsvayg
9e5ac6f73e typo 2017-03-28 17:13:21 -04:00
Kay Kurokawa
bb4bf620f4 remove update_metadata() function 2017-03-27 16:46:41 -04:00
Kay Kurokawa
ddd8fd1a77 decrease connection timeout 2017-03-27 15:11:15 -04:00
Kay Kurokawa
3af5e9dc5c connect to multiple peers at once in manage 2017-03-27 15:11:15 -04:00
Kay Kurokawa
b0fd6e57df create and properly distinguish get_unused_address and get_new_address 2017-03-27 12:41:53 -04:00
Alex Grintsvayg
a2a29fc02c switch to txrequests to marry async requests to twisted 2017-03-24 17:20:33 -04:00
Alex Grintsvayg
0c42bc6382 fixes, refactors 2017-03-23 14:11:01 -04:00
Alex Grintsvayg
25d9f008de fix error handling in jsonrpc 2017-03-23 11:09:40 -04:00
Alex Grintsvayg
f515583ec4 fix _get_transaction 2017-03-21 12:11:47 -04:00
Alex Grintsvayg
8f3b53197f dont add expected payment when payment rate is 0 2017-03-20 15:37:45 -04:00
Jack Robison
a95c49bd08 add wallet_list 2017-03-19 10:52:51 -04:00
Kay Kurokawa
4edd13f4f4 fix wallet_public_key API command 2017-03-17 16:45:34 -04:00
Alex Grintsvayg
49b18a1fca minor 2017-03-15 16:33:41 -04:00