Kay Kurokawa
824fbcc25a
adding timeout to ClientProtocol
2017-02-27 13:02:35 -05:00
jobevers
70cf179139
Merge remote-tracking branch 'origin/master' into electron
2017-02-21 12:07:36 -06:00
jobevers
1d30ae447a
Merge branch 'master' into electron
2017-02-21 10:47:28 -06:00
Job Evers‐Meltzer
998892ef0b
Merge pull request #446 from lbryio/reseed
...
Script to Reseed a File
2017-02-21 06:11:32 -06:00
Kay Kurokawa
3522f9af7d
use utils.call_later in DHTHash Announcer
2017-02-20 16:48:29 -05:00
Kay Kurokawa
c27fe7af31
use utils.call_later in ConnectionManager
2017-02-20 16:48:29 -05:00
Kay Kurokawa
30c7559d3a
adding reactor.callLater as a utils function
2017-02-20 16:48:23 -05:00
Kay Kurokawa
7e2fad2397
dummy hash announcer requires hash_queue_size() function
2017-02-20 16:48:22 -05:00
Jack Robison
b18679af53
debug log
2017-02-19 19:37:50 -05:00
jobevers
993f2e54f9
more fixes for build
2017-02-16 14:13:01 -06:00
Job Evers‐Meltzer
fb2823f59e
don't need this anymore
2017-02-16 14:13:00 -06:00
Jack Robison
3ddf8680fb
blob commands
...
refactor blob_get
add descriptor_get
add blob_delete
refactor blob_list
2017-02-16 11:20:02 -05:00
Jack Robison
25ec8fde23
add timeout to get_availability and peer_list
...
-add optional timeout to DHTPeerFinder.find_peers_for_blob
-add peer_search_timeout setting
2017-02-16 11:17:37 -05:00
Jack Robison
bcd026a1b6
add only-free payment rate manager for testing
2017-02-16 11:17:37 -05:00
Jack Robison
1a6290eacc
log blob count at startup
2017-02-16 11:17:37 -05:00
Jack Robison
0f907a209b
add EncryptedFileDownloader.load_file_attributes
2017-02-16 09:12:47 -05:00
jobevers
9e2cda0cdc
remove more upload_allowed arguments
2017-02-15 06:48:58 -06:00
Job Evers-Meltzer
2a45c91175
fix get_blob calls with upload_allowed arguments
2017-02-15 06:48:58 -06:00
Job Evers-Meltzer
a38e5c855e
Remove upload_allowed attribute
...
This is unused and largely pulluting the argument list
of too many functions.
2017-02-15 06:48:50 -06:00
Job Evers-Meltzer
90d3a0ef9c
Add script to reseed a file
2017-02-15 06:43:41 -06:00
Umpei Kay Kurokawa
37cc257555
Merge pull request #465 from lbryio/dht_hash_announcer_tests
...
Adjust hash reannounce based on queue size , test for DHTHashAnnouncer, immediately announce new blobs
2017-02-13 21:08:48 -05:00
Jack Robison
aa8375673b
Merge pull request #477 from lbryio/inlinecallbacks-refactor
...
Refactor publish, file manager, and file downloader
2017-02-13 17:42:54 -05:00
Kay Kurokawa
34f5bc93ae
adding immediate announce option to hash announce
2017-02-13 17:27:10 -05:00
Kay Kurokawa
8e0f71ac74
Make hash reannounce time adjusted based on the queue of hashes yet to be announced, add test for DHTHashAnnouncer
2017-02-13 17:27:10 -05:00
Jack Robison
8859c1b0c1
fix claim_abandon
2017-02-13 15:14:54 -05:00
Jack Robison
5a1bab2eaa
refactor Publisher and jsonrpc_publish
...
-add get_read_handle to file_utils
-don’t leave read handle hanging after creating lbry file
-get rid of threaded weirdness
-remove reflector functionality from Publisher
-fix updating with an existing stream
-reflect new stream in thread after broadcasting name claim
2017-02-13 13:07:27 -05:00
Kay Kurokawa
4f87e87d3e
Adding connection manager tests, and modifying connection manager to be testeable, fix bug where failed connection was not marked as down
2017-02-13 12:17:27 -05:00
Jack Robison
630d0bf5be
convert Wallet.claim_name to use inlineCallbacks
2017-02-09 10:13:41 -05:00
Jack Robison
19fe101d73
fix claim update
...
dict.update does not return the dict, so this can’t be lambda’d
2017-02-09 10:11:46 -05:00
jobevers
4bb3e2a154
remove is_lagging wallet attribute
2017-02-01 12:13:43 -08:00
jobevers
ed227a239e
Fixes #449
...
What was happening was the wallet claimed to be caught up before it
actually was and so the wallet’s local_height was still the value from
when lbry was last run, frequently more than 20 or 50 blocks
behind. _get_value_for_name uses the block at local_height as the
basis for the proof. If _get_value_for_name is called during that
time between when the wallet claims to be caught up and it actually
is, the “Block too deep error” happens. And since the discover page
of the UI does name resolution right away, the error basically happens
anytime somebody starts the app after not using it for a few hours.
This changes the startup behaviour of the wallet to
- use the `update` callback provided by lbryum
- check that local_height and network_height match before declaring
that the wallet has caught up
For reference, the error is raised here:
1b896ae75b/src/rpc/claimtrie.cpp (L688)
2017-01-30 09:32:04 -08:00
jobevers
7360015fa4
small refactor
2017-01-30 09:32:04 -08:00
jobevers
04ee2f786d
remove backslash line continuation
2017-01-30 09:32:04 -08:00
jobevers
43451c485f
change alerts to logs
2017-01-30 09:32:04 -08:00
Umpei Kay Kurokawa
893fe8823e
Merge pull request #409 from lbryio/fix_wallet_race_condition
...
Fix wallet balance interfaces
2017-01-26 15:12:54 -05:00
Kay Kurokawa
90438ddf9f
removing str() from logging functions
2017-01-26 12:14:33 -05:00
Kay Kurokawa
08e336e476
adding better debug logs for ConnectionManager and ClientProtocol
2017-01-26 12:09:55 -05:00
Kay Kurokawa
0e864f5df1
Update interface for wallet balance
2017-01-26 11:41:27 -05:00
Alex Grintsvayg
c88631d910
fix long lines
2017-01-25 17:00:21 -05:00
Alex Grintsvayg
897fba35df
fix formatting, reenable pylint
2017-01-25 15:33:46 -05:00
Jack Robison
3b65f5962c
disable verbose twisted logs
2017-01-25 13:04:02 -05:00
Job Evers‐Meltzer
ec873129d5
Merge pull request #434 from lbryio/ensure-tmp-blobs-deleted
...
Bug fix: delete empty blobs
2017-01-24 11:55:13 -05:00
Job Evers‐Meltzer
a90f413f94
Merge pull request #438 from lbryio/warn_large_wallet
...
Add warning for large wallet sizes
2017-01-24 11:54:53 -05:00
Kay Kurokawa
ee84253b90
add warning for large wallet sizes
2017-01-23 18:55:20 -05:00
Job Evers‐Meltzer
06e45ee32a
Merge pull request #410 from lbryio/reveal-open-refactor
...
Add open() API method and refactor/update reveal() API method (WIP)
2017-01-23 16:44:31 -05:00
Job Evers-Meltzer
7696f30009
add debug log to hash announcing
2017-01-21 22:48:16 -06:00
Job Evers-Meltzer
c211d87164
Bug fix: delete empty blobs
...
When creating a CryptStream, the last blob is always empty. Previously, this
blob wouldn't be deleted and would instead just stick around in the blobfiles
directory.
2017-01-21 17:27:19 -06:00
Alex Liebowitz
d3a63c38fc
Fix pylint errors
2017-01-20 22:36:31 -05:00
Alex Liebowitz
8b68a752ed
Add file_utils module
2017-01-20 22:29:27 -05:00
Job Evers-Meltzer
2c9c0da501
get_blob bug fix
2017-01-20 17:41:08 -06:00