Alex Grintsvayg
da3ed0756e
Bump version: 0.9.1 → 0.9.2rc1
2017-03-21 17:10:51 -04:00
Jack Robison
824f2f1d0f
handle not being able to decode claim cache file
2017-03-21 16:32:32 -04:00
Alex Grintsvayg
f515583ec4
fix _get_transaction
2017-03-21 12:11:47 -04:00
Jack Robison
c66225ccf8
Merge branch 'master' into fix_descriptor_get
2017-03-20 16:42:10 -04:00
Alex Grintsvayg
8f3b53197f
dont add expected payment when payment rate is 0
2017-03-20 15:37:45 -04:00
Alex Grin
4027733f2c
Merge pull request #542 from lbryio/wallet-list
...
add wallet_list
2017-03-20 15:31:45 -04:00
Kay Kurokawa
85845414b8
format help message properly in case of error in CLI
2017-03-20 13:41:32 -04:00
Jack Robison
a95c49bd08
add wallet_list
2017-03-19 10:52:51 -04:00
Alex Grintsvayg
c422b5252e
Bump version: 0.9.1rc6 → 0.9.1
2017-03-17 18:24:20 -04:00
Kay Kurokawa
4edd13f4f4
fix wallet_public_key API command
2017-03-17 16:45:34 -04:00
Alex Grintsvayg
a4de0056ab
Bump version: 0.9.1rc5 → 0.9.1rc6
2017-03-17 13:11:38 -04:00
Alex Grintsvayg
6482619fac
stupid bug
2017-03-17 13:07:23 -04:00
Alex Grintsvayg
b00c20180b
Bump version: 0.9.1rc4 → 0.9.1rc5
2017-03-16 17:56:25 -04:00
Kay Kurokawa
001ebd02e3
fix broken descriptor_get command
2017-03-16 17:55:35 -04:00
Alex Grintsvayg
15517732ae
add config to disable reflecting on publish
2017-03-16 17:49:24 -04:00
Jeremy Kauffman
ebb6813df3
Merge pull request #531 from lbryio/better_jsonrpc_publish
...
Change publish to take metadata fields as arguments, docstring change
2017-03-16 16:02:49 -04:00
Alex Grintsvayg
bfd822782d
small fixes
2017-03-16 15:35:54 -04:00
Kay Kurokawa
61d27f010e
Change publish to take metadata fields as arguments, docstring change
2017-03-16 14:38:27 -04:00
Alex Grintsvayg
52d471d660
Bump version: 0.9.1rc3 → 0.9.1rc4
2017-03-15 21:53:36 -04:00
Alex Grintsvayg
33c9a7a098
Bump version: 0.9.1rc2 → 0.9.1rc3
2017-03-15 21:26:08 -04:00
Alex Grintsvayg
8201fc186d
Bump version: 0.9.1rc1 → 0.9.1rc2
2017-03-15 19:59:59 -04:00
Alex Grintsvayg
49b18a1fca
minor
2017-03-15 16:33:41 -04:00
Alex Grintsvayg
26d2347812
update docs
2017-03-15 16:31:58 -04:00
Alex Grintsvayg
29dea4901e
add --version flag, remove simplejson dependency
2017-03-15 16:24:25 -04:00
Alex Grintsvayg
12bc804622
Bump version: 0.9.0 → 0.9.1rc1
2017-03-15 12:34:32 -04:00
Alex Grintsvayg
2c4e4d4526
Revert "Bump version: 0.9.0 → 0.9.1rc0"
...
This reverts commit 74844f18ad
.
2017-03-15 12:31:40 -04:00
Alex Grintsvayg
74844f18ad
Bump version: 0.9.0 → 0.9.1rc0
2017-03-15 12:30:52 -04:00
Alex Grintsvayg
93406fe07f
Revert "Bump version: 0.9.0 → 0.9.001"
...
This reverts commit 820e3091bf
.
2017-03-15 11:31:36 -04:00
Alex Grintsvayg
820e3091bf
Bump version: 0.9.0 → 0.9.001
2017-03-15 11:19:07 -04:00
Alex Grintsvayg
c4b65fddac
newline after jsonrpc response
2017-03-14 11:11:29 -04:00
Alex Grintsvayg
25dcf592a0
Bump version: 0.9.0rc17 → 0.9.0
2017-03-13 23:16:01 -04:00
Kay Kurokawa
b32b7091ad
make api docstrings consistent
2017-03-13 20:43:18 -04:00
Umpei Kay Kurokawa
ec35eb2397
Merge pull request #526 from lbryio/api_doc_string
...
Daemon API doc string update
2017-03-13 14:18:14 -04:00
Alex Grintsvayg
92d423aefd
fix jsonrpc http headers
2017-03-13 11:54:40 -04:00
Kay Kurokawa
0ec9b6545f
edit doc strings and update doc file
2017-03-12 14:45:46 -04:00
Umpei Kay Kurokawa
003b3df378
Merge pull request #525 from lbryio/fix_update
...
Fix bug in update
2017-03-10 18:39:46 -05:00
Kay Kurokawa
b2c2edfb12
fixed bug of decimal not being subtractable from float
2017-03-10 18:33:21 -05:00
Kay Kurokawa
e7dc841bb7
fix fee validation in publisher and clarify publish docstring
2017-03-10 18:24:32 -05:00
Alex Grintsvayg
2303f88bd4
Bump version: 0.9.0rc16 → 0.9.0rc17
2017-03-10 16:30:28 -05:00
Kay Kurokawa
8c61185387
handle decimal encoded string output from lbryum
2017-03-10 12:56:58 -05:00
Kay Kurokawa
98d3a4cb46
fix api consistency issues from lbryum
2017-03-10 11:52:12 -05:00
Alex Grintsvayg
ab1bdb7eaf
Bump version: 0.9.0rc15 → 0.9.0rc16
2017-03-09 15:30:36 -05:00
Umpei Kay Kurokawa
8ef3f81f0c
Merge pull request #523 from lbryio/remove_unused_wallet_func
...
remove unused functions in wallet
2017-03-09 13:15:26 -05:00
Kay Kurokawa
881efabc0c
remove unused _get_status_of_claim() and get_name_and_validity_for_sd_hash() function in Wallet
2017-03-09 12:02:36 -05:00
Kay Kurokawa
aef274577f
Do not expose get_claims_from_tx() from the API
2017-03-09 11:54:34 -05:00
Jack Robison
5d6ca0aae6
add get_sd_hash to utils
2017-03-09 10:39:25 -05:00
Alex Grintsvayg
9a4230dd96
Bump version: 0.9.0rc14 → 0.9.0rc15
2017-03-09 10:37:44 -05:00
Alex Grintsvayg
3f4a4728e6
fixed my silly mistakes
2017-03-09 07:58:36 -05:00
Alex Grintsvayg
63cb2cf571
raise exceptions, dont yield them
2017-03-08 17:14:31 -05:00
Alex Grintsvayg
54b4b6984e
fix jsonrpc help
2017-03-08 17:10:03 -05:00
Kay Kurokawa
98f90a4ad6
fixing minor debugging bug
2017-03-08 15:32:00 -05:00
Jack Robison
e29a91b69a
fix pylint
2017-03-08 14:19:54 -05:00
Jack Robison
fdcc5e6829
fix file delete keyword arg bug
2017-03-08 14:04:40 -05:00
Jack Robison
992be881af
fix _get_lbry_file return bug
2017-03-08 11:53:24 -05:00
Alex Grintsvayg
68f5588bd9
make loggly logs less verbose
2017-03-08 11:23:28 -05:00
Umpei Kay Kurokawa
531fa63590
Merge pull request #519 from lbryio/fix_publish_docstring
...
fix docstring for daemon publish command
2017-03-08 10:50:54 -05:00
Kay Kurokawa
9048244cdc
fix docstring for daemon publish command
2017-03-08 10:39:31 -05:00
Jack Robison
a132496643
fix filter files by outpoint
2017-03-08 09:31:36 -05:00
Kay Kurokawa
1aa715c927
remove file_utils import from Daemon
2017-03-07 21:17:06 -05:00
Kay Kurokawa
931925be15
remove start and reveal from file_utils
2017-03-07 21:17:06 -05:00
Kay Kurokawa
e2ed9f21d2
delete reveal and open command from api, not needed for electron
2017-03-07 21:17:06 -05:00
Kay Kurokawa
e6cd4c9877
removing unuseful/unused commands from daemon API
2017-03-07 21:17:06 -05:00
Jack Robison
e2cc212eb8
Merge pull request #512 from lbryio/file-list-refactor
...
File list refactor
2017-03-07 20:38:04 -05:00
Alex Liebowitz
18c690d801
Add string comparison to ClaimOutpoint
2017-03-07 18:31:05 -05:00
Jack Robison
9e09d1fc38
handle multiple files to delete in file_delete
2017-03-07 18:30:18 -05:00
Jack Robison
454755169a
explain get_count_for_stream in file_delete
2017-03-07 18:29:44 -05:00
Jack Robison
bc9b990728
return file json from get
2017-03-07 18:29:44 -05:00
Jack Robison
7ad46e70be
remove deprecated delete_lbry_file, move file deletion to lbry_file_manager
2017-03-07 18:29:44 -05:00
Jack Robison
4f9b5c4624
refactor file_list, remove deprecated file retrieval functions
2017-03-07 18:29:44 -05:00
Jack Robison
9744287370
change attribute "uri" to "name"
2017-03-07 18:29:44 -05:00
Alex Grintsvayg
59a5a3164f
Bump version: 0.9.0rc13 → 0.9.0rc14
2017-03-07 16:03:19 -05:00
Alex Grintsvayg
6fb3313eaf
Bump version: 0.9.0rc12 → 0.9.0rc13
2017-03-06 18:15:45 -05:00
Alex Grintsvayg
2bfbae9d4e
Bump version: 0.9.0rc11 → 0.9.0rc12
2017-03-06 17:47:50 -05:00
Kay Kurokawa
d642ba039d
Fix downloading not timing out properly when unable to download sd blob
2017-03-03 16:45:25 -05:00
Kay Kurokawa
9755e9b11f
Improvements to exchange rate manager
2017-03-03 12:50:47 -05:00
Alex Liebowitz
e8afad7af8
Bump version: 0.9.0rc10 → 0.9.0rc11
2017-02-27 17:49:07 -05:00
Kay Kurokawa
88f270180c
add check in case local height is less than zero
2017-02-27 13:28:58 -05:00
Kay Kurokawa
824fbcc25a
adding timeout to ClientProtocol
2017-02-27 13:02:35 -05:00
jobevers
d3d8426430
Bump version: 0.9.0rc9 → 0.9.0rc10
2017-02-22 16:14:40 -06:00
jobevers
9af1cae249
Bump version: 0.9.0rc8 → 0.9.0rc9
2017-02-22 12:51:10 -06:00
jobevers
301e4ae0fa
update version to 0.9.0rc8
2017-02-21 21:03:58 -06:00
jobevers
d359949a5c
check network exists on jsonrpc_status call
2017-02-21 15:30:36 -06:00
jobevers
70cf179139
Merge remote-tracking branch 'origin/master' into electron
2017-02-21 12:07:36 -06:00
Alex Grintsvayg
62ab4c769d
move blocks_behind into blockchain_status
2017-02-21 12:51:15 -05:00
jobevers
c920663444
Bump version: 0.8.6 → 0.8.7
2017-02-21 11:36:44 -06:00
jobevers
1d30ae447a
Merge branch 'master' into electron
2017-02-21 10:47:28 -06:00
jobevers
ff5980dfca
fix broken version check
2017-02-21 09:36:08 -06:00
jobevers
e4b77a4a0a
clean up lint errors
2017-02-21 08:45:12 -06:00
jobevers
666b568eea
update version info
2017-02-21 08:39:32 -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
jobevers
a1650d7f03
remove update url
2017-02-20 12:55:21 -06:00
Alex Grintsvayg
c85226d5a6
stop showing deprecated commands in cli help
2017-02-20 00:21:16 -05:00
Jack Robison
37b2297fb7
Bump version: 0.8.6rc0 → 0.8.6
2017-02-19 19:50:41 -05:00
Jack Robison
450ac7aa57
Bump version: 0.8.5 → 0.8.6rc0
2017-02-19 19:50:30 -05:00
Jack Robison
b18679af53
debug log
2017-02-19 19:37:50 -05:00
Jack Robison
d0b64ef255
don't return blob timeout error from get_availability
2017-02-19 19:37:50 -05:00
Jack Robison
e2f97ba0b4
get file by stream hash
2017-02-19 19:37:44 -05:00
Jack Robison
c6e614ebec
fix get()
...
-get_file_by_sd_hash raises NoSuchSDHash if there is no file, which
otherwise doesn’t get trapped
-remove unnecessary try/except around _DownloadNameHelper.__init__
-don’t delete self.waiting_on[name]
2017-02-19 19:17:25 -05:00
Jack Robison
29ff39fdc9
Bump version: 0.8.5rc0 → 0.8.5
2017-02-18 14:50:39 -05:00
Jack Robison
d2e1eeb61e
Bump version: 0.8.4 → 0.8.5rc0
2017-02-18 14:26:57 -05:00
Jack Robison
ab46a33913
fix missing download button
2017-02-18 14:07:07 -05:00
jobevers
5bf5a7d0b1
Bump version: 0.8.4rc0 → 0.8.4
2017-02-17 14:39:37 -06:00
jobevers
23f2a42372
Bump version: 0.8.3 → 0.8.4rc0
2017-02-17 14:37:21 -06:00
jobevers
6d4c606abd
remove version check also supplies a download url
2017-02-16 21:25:09 -06:00
jobevers
723105157f
check lbry-electron for releases
2017-02-16 14:18:32 -06:00
jobevers
17d32ca696
remove lbryum version check
2017-02-16 14:18:23 -06: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
jobevers
f1231bd8e5
remove UI_Manager
2017-02-16 14:11:54 -06:00
Job Evers-Meltzer
caa8f73f7c
remove header check
2017-02-16 14:09:43 -06:00
jobevers
0674b48223
record traceback in error event
2017-02-16 13:31:59 -06:00
Job Evers‐Meltzer
5bf75ef139
Merge pull request #404 from lbryio/match-allow-origin
...
Allow requests that match allowed-origin
2017-02-16 12:02:20 -06:00
Job Evers-Meltzer
e2db99f7ab
allow requests that match allowed-origin
2017-02-16 11:44:23 -05: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
345301a9ee
return file with pending claim with get_lbry_file
...
if a lbry file from the winning claim is in the file manager, return
it. otherwise return a lbry file with a pending claim if one exists.
2017-02-16 09:12:57 -05:00
Jack Robison
0f907a209b
add EncryptedFileDownloader.load_file_attributes
2017-02-16 09:12:47 -05:00
Jack Robison
80dd02483e
Merge branch 'master' into no-more-upload-allowed
2017-02-15 22:39:26 -05:00
jobevers
8452620f99
Bump version: 0.8.3rc3 → 0.8.3
2017-02-15 16:29:40 -06:00
Job Evers‐Meltzer
934a46a8b6
Merge pull request #452 from lbryio/retry-startup
...
Retry startup
2017-02-15 08:34:26 -06:00
jobevers
f7c105fd80
fixes
2017-02-15 06:48:59 -06:00
jobevers
9e2cda0cdc
remove more upload_allowed arguments
2017-02-15 06:48:58 -06:00
jobevers
4fb5e932e6
fix indentation
2017-02-15 06:48:58 -06:00
jobevers
fe4dac8236
change downloader options to data_rate
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
jobevers
f989814e69
catch Unknownnameerror for resolve_name
...
Its expected behavior that a name won't resolve so this more
gracefully handles that case
2017-02-14 16:16:22 -06:00
jobevers
520ac9b50a
change filemanger setup to inlinecallbacks
2017-02-14 10:27:16 -06:00
jobevers
dbb6c6f3a4
remove unused parts of file manager
2017-02-14 10:26:45 -06:00
jobevers
993d606bc6
add logging on downloader start
2017-02-14 10:26:03 -06:00
jobevers
ffb48ef287
bugfix: on restore, dont wait for download to finish
2017-02-14 10:25:34 -06:00
jobevers
62fcbc23e3
bugfix: exception needs string interpolation
2017-02-14 10:25:03 -06:00
jobevers
3bdd33567b
whitespace
2017-02-14 09:14:18 -06:00
jobevers
6bdb0280be
better log exception in EncryptedFileManager
...
The error message in #478 is too generic. This wraps the source of the
error in a try/catch and logs the traceback.
2017-02-14 09:11:39 -06:00
jobevers
77746cea5f
Bump version: 0.8.3rc2 → 0.8.3rc3
2017-02-14 07:55:54 -06:00
jobevers
acfe034990
Bump version: 0.8.3rc1 → 0.8.3rc2
2017-02-13 23:34:36 -06:00
jobevers
e2021deae1
Bump version: 0.8.3rc0 → 0.8.3rc1
2017-02-13 22:06:57 -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
3cc8a4b168
add local and remote heights to blockchain status
2017-02-13 15:14:54 -05:00
Jack Robison
8859c1b0c1
fix claim_abandon
2017-02-13 15:14:54 -05:00
Jack Robison
867275461c
feedback from job
2017-02-13 15:14:54 -05:00
Jack Robison
2190f4ac85
refactor GetStream
...
-convert to inline callbacks
-return more errors than just timeouts
-delete on timeout
-have a more understandable return condition (first data blob having
downloaded)
2017-02-13 15:14:54 -05:00
Jack Robison
7720724ec0
reflect lbry_files in looping call in EncryptedFileManager
...
-remove ManagedEncryptedFileDownloader._reupload
-clean up reflector functions in Daemon, move to reflector.reupload
-check ConnectionLost in reflector client
-close sd blob file handle when it wont be sent (otherwise read handle stays open)
-log reflector sd info
-give reflector client factory a lbry file
2017-02-13 15:13:37 -05:00
Umpei Kay Kurokawa
dbd71c93e7
Merge pull request #458 from lbryio/connection_manager_tests
...
Connection Manager tests and upgrades
2017-02-13 13:55:33 -05:00
Jack Robison
d137528f67
convert Daemon._delete_lbry_file to inlineCallbacks
2017-02-13 13:07:27 -05:00
Jack Robison
e292abceee
convert EncryptedFileManager to use inlineCallbacks
2017-02-13 13:07:27 -05:00
Jack Robison
8de6bd7c7a
convert EncryptedFileDownloader to inlineCallbacks
2017-02-13 13:07:27 -05:00
jobevers
bb9b221cf6
convert publish_sd_blob to inlineCallback
2017-02-13 13:07:27 -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
Alex Grintsvayg
c7106dfc97
reduce loudness of reflector message
2017-02-13 12:12:32 -05:00
jobevers
71123c0de1
add warning log on EWOULDBLOCK
2017-02-11 13:04:36 -06:00
Alex Grintsvayg
35b2e56bd4
silence "[Errno 11] Resource temporarily unavailable" error
2017-02-11 13:04:35 -06:00
jobevers
41abd0a171
Bump version: 0.8.2 → 0.8.3rc0
2017-02-10 14:16:29 -06: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
Alex Liebowitz
0e8e489ad6
Fix how the bug report code accesses Slack API key setting
...
It was trying to access this setting as an attribute, which doesn't
work anymore. (Not sure if this is an API change in conf.settings or
just a bug.)
2017-02-08 23:05:32 -05:00
Jack Robison
e2050b4fc1
fix get_count_for_stream returning [(count, )] instead an int
2017-02-08 20:58:45 -05:00
Jack Robison
7e2456fa69
convert _setup, _check_stream_is_managed, _check_stream_info_manager, and _start_lbry_files to inlineCallbacks
...
remove unused MissingLBRYFile exception
2017-02-08 19:34:54 -05:00
Jack Robison
bfc02dd3e5
fix streams in stream_info_manager not being loaded by lbry_file_manager
2017-02-08 17:02:02 -05:00
Jack Robison
777419b4a9
log traceback on failed blob upload
...
-move status message on connectionDone to client, indicate if blobs
were sent or not (and how many blobs reflector still needs, if any)
-only try uploading failed blob once after first failure, to prevent
indefinite retries
2017-02-08 16:18:34 -05:00
Jack Robison
f2ddc9bd98
fix recursion depth bug upon failed blob
2017-02-08 14:28:30 -05:00
Jack Robison
d053db8dfd
add uri to stream reflector for better logging
2017-02-08 14:28:16 -05:00
Jack Robison
a58a81a841
stopProducing in reflector client file_sender when uploading is done
...
this fixes exceptions.ValueError: I/O operation on closed file in
twisted.protocols.basic.ResumeProducing
2017-02-08 14:09:03 -05:00
Jack Robison
f614a13db4
update documentation
2017-02-06 15:56:00 -05:00
Jack Robison
6fae07d29e
reflector v2
...
-add {‘sd_blob_hash’: …, ‘sd_blob_size ‘: …} query type with
{‘send_sd_blob’: True/False, ‘needed_blobs’: []} response
this allows the reflector client to know how much of a stream reflector
already has covered, as to minimize the number of subsequent requests
and prevent streams from being partially reflected
-remove empty {} request
2017-02-06 15:55:46 -05:00
Jack Robison
2126f69c93
use only DBEncryptedFileMetadataManager in Daemon
...
-fix Daemon.stream_info_manager and Daemon.lbry_file_metadata_manager
being different
2017-02-06 13:15:50 -05:00
Jack Robison
6f0581104a
Merge pull request #408 from lbryio/non-blocking-update-check
...
non-blocking version check
2017-02-05 15:44:29 -05:00
Jack Robison
06be60e3a3
Merge pull request #406 from lbryio/installation-id
...
add installation id, re-initialize lbryid on each start
2017-02-02 11:37:31 -05:00
Jack Robison
45a6228b58
fix threaded lbryum check
2017-02-02 11:31:31 -05:00
jobevers
773cbe3ace
Bump version: 0.8.1 → 0.8.2
2017-02-02 07:43:28 -08:00
Jack Robison
c6648ff6bc
add installation id, re-initialize lbryid on each start
2017-02-02 10:23:17 -05:00
Jack Robison
f737b3aaf7
non-blocking version check
...
this fixes a bug where if github is down the app will fail to start.
-check for new version every 30 min instead of every 12 hours
-check connection problems every 30 seconds instead of every second
2017-02-02 10:18:09 -05:00
jobevers
8e349f17c1
fixes for named parameter changes on api
2017-02-01 20:47:53 -08:00
jobevers
4ab5ace668
Bump version: 0.8.1rc0 → 0.8.1
2017-02-01 15:57:05 -08:00
Job Evers‐Meltzer
2c137a99d1
Merge pull request #453 from lbryio/add-details-to-error-event
...
Add details to error event
2017-02-01 14:23:26 -08:00
Job Evers‐Meltzer
d1ed8a769a
Merge pull request #450 from lbryio/block-too-deep
...
Fix #449 : Block to deep error
2017-02-01 13:45:12 -08:00
jobevers
4bb3e2a154
remove is_lagging wallet attribute
2017-02-01 12:13:43 -08:00
Kay Kurokawa
a5e8c561e4
Revert "adding connection manager tests, and modifying connection manager to be testeable"
...
This reverts commit 7b6e233d22
, as it was an accidental push to master
2017-02-01 11:59:36 -05:00
Kay Kurokawa
7b6e233d22
adding connection manager tests, and modifying connection manager to be testeable
2017-02-01 11:52:16 -05:00
Job Evers‐Meltzer
ac8a63bc33
Merge pull request #455 from lbryio/better-defaults
...
Change default behavior with daemon cmdline args
2017-01-31 10:13:18 -08:00
Alex Grintsvayg
46cb6b204a
nicer error output
2017-01-31 10:38:07 -05:00
jobevers
8fc6feb316
log to console by default
2017-01-30 12:08:32 -08:00
jobevers
7377158631
change no-launch to launchui
2017-01-30 12:04:07 -08:00
Alex Grintsvayg
86ba7ffd5c
explicitly list jsonrpc params in function signature. add jsonrpc tests
2017-01-30 09:58:28 -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
jobevers
565f26bdad
switch error event to use log record and add more details
2017-01-30 09:30:46 -08:00
jobevers
b7478ba817
replace send_error with log.error
2017-01-30 09:30:46 -08:00
jobevers
1c92b5d2ea
retry startup
2017-01-30 09:25:44 -08:00
Job Evers‐Meltzer
139af85b52
Merge pull request #445 from lbryio/retry-get
...
Retry the get call three times before failing
2017-01-27 10:08:25 -06: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
jobevers
3dc1a523cf
retry the get call three times before failing
2017-01-26 14:09:54 -06: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
Jack Robison
854dea797e
Bump version: 0.8.0 → 0.8.1rc0
2017-01-25 17:49:52 -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
74a872d763
fix pylint errors
2017-01-25 13:10:38 -05:00
Jack Robison
3b65f5962c
disable verbose twisted logs
2017-01-25 13:04:02 -05:00
Jack Robison
5fa2dfeca7
try reflecting all the blobs in a stream
...
previously only the sd blob was reflected, if the server indicated it
needed the blob then the rest of the stream would follow. this allowed
for many streams to be partially reflected, where for whatever reason
the connection was broken before the full upload was completed. this
meant that on a subsequent run, the client would falsely believe
reflector had the whole stream when it actually only had some portion
of it.
this solution isn’t ideal, I’m most of the way done with a better one,
but this can be deployed now.
2017-01-25 13:03:48 -05:00
Job Evers-Meltzer
bb9d3bff74
Bump version: 0.8.0rc2 → 0.8.0
2017-01-24 11:56:36 -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
08aa024499
Use inlineCallbacks for jsonrpc_open() and jsonrpc_reveal()
2017-01-20 22:29:27 -05:00
Alex Liebowitz
5db1a4d328
Refactor and update open() and reveal() RPC methods
...
- Both methods now take an SD hash instead of a path (more logical API
and avoids potential security problems)
- Moves the core logic into functions on a new module,
lbry.core.file_utils
- Adds reveal support for Windows
2017-01-20 22:29:27 -05:00
Alex Liebowitz
e95adecd41
Rename jsonrpc_open_file to jsonrpc_open
2017-01-20 22:29:27 -05:00
Alex Liebowitz
8b68a752ed
Add file_utils module
2017-01-20 22:29:27 -05:00
Alex Liebowitz
51a5510b38
Add open_file() RPC method
2017-01-20 22:29:27 -05:00
Job Evers-Meltzer
2c9c0da501
get_blob bug fix
2017-01-20 17:41:08 -06:00
Umpei Kay Kurokawa
60195ed6d4
Merge pull request #427 from lbryio/fix_new_address
...
Prevent excessive generation of new addresses
2017-01-20 17:14:21 -05:00
Job Evers-Meltzer
3e774fc158
missed another verified time check
2017-01-20 18:47:53 +00:00
Alex Grintsvayg
c62ee6bb0c
fix loading settings from env
2017-01-20 13:38:49 -05:00
Alex Grintsvayg
3aea476014
ignore invalid config file keys
2017-01-20 12:39:59 -05:00
Job Evers-Meltzer
8c5f7a9849
fix missing arg in get_blob
2017-01-20 11:35:34 -06:00
Job Evers‐Meltzer
6c571b5227
Blob verification fixes ( #428 )
...
* Move the blob verification to the actual Blob object
* remove the check on verification time
* remove get_blob_length from BlobManager
Removed because I'm not sure what checking verification time against ctime gets us, except some protection against an accidental modification of the blob.
2017-01-20 10:54:36 -06:00
Kay Kurokawa
8628b127f7
do not create new addresses in lbryum, get unused ones
2017-01-18 20:48:23 -05:00
Job Evers-Meltzer
851ab7ba28
Safegaurd against there not being a wallet on status call
...
Also switch status call to an inlineCallback
2017-01-18 09:36:01 -06:00
Job Evers-Meltzer
7bc1bc487f
Bump version: 0.8.0rc1 → 0.8.0rc2
2017-01-17 22:08:34 -06:00
Job Evers‐Meltzer
05d50c1821
Merge pull request #420 from lbryio/fix-watch-resource
...
fix resource needed for watch
2017-01-17 22:07:06 -06:00
Job Evers-Meltzer
13bfcb3561
fix missing id_ parameter to _render_error
2017-01-17 20:01:28 -06:00
Job Evers-Meltzer
1a850b0256
log exception on callback failure
2017-01-17 20:01:04 -06:00
Job Evers-Meltzer
78b0f923f4
fix resource needed for watch
2017-01-17 19:26:09 -06:00
Alex Grin
17d9c0ab97
Merge pull request #417 from lbryio/refactor_settings
...
refactor conf.settings
2017-01-17 14:53:01 -05:00
Alex Grintsvayg
23872c77e9
fix long lines
2017-01-17 12:31:48 -05:00
Alex Grintsvayg
cac8267e85
updates, more refactoring for greater clarity
2017-01-17 12:29:09 -05:00
Alex Grintsvayg
267c6cbaca
refactor conf.settings
2017-01-16 22:32:54 -05:00
Kay Kurokawa
03b214a9d2
convert claim_out['fee'] to float
2017-01-16 15:36:37 -05:00
Job Evers-Meltzer
8a026071eb
Bump version: 0.8.0rc0 → 0.8.0rc1
2017-01-16 12:01:35 -05:00
Job Evers-Meltzer
8a338b37b2
Bump version: 0.7.12 → 0.8.0rc0
2017-01-13 14:15:01 -06:00
Job Evers‐Meltzer
2b2fa29db5
Merge pull request #395 from lbryio/fix_publish_output
...
Fix Daemon RPC command publish output
2017-01-13 14:02:23 -06:00
Job Evers‐Meltzer
ddcfa7f97c
Merge pull request #383 from lbryio/logging-improvements
...
Logging Improvements
2017-01-13 13:42:35 -06:00
Job Evers‐Meltzer
ddf24de16d
Merge pull request #407 from lbryio/handle-closed-api-requests-rebase
...
handle dropped api requests
2017-01-13 13:33:42 -06:00
Alex Grintsvayg
8277df1034
minor nits
2017-01-13 12:26:37 -05:00
Jack Robison
e03bba0b62
handle dropped api requests
2017-01-13 10:41:59 -06:00
Job Evers-Meltzer
e61260a263
merge with change stop to be an inlineCallback
2017-01-13 08:24:07 -06:00
Job Evers-Meltzer
a9261b2032
change stop to be an inlineCallback
2017-01-13 08:24:07 -06:00
Job Evers-Meltzer
9366a6e561
bug fix: reset blob_requester between start/stop
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
488c04543d
add TODO comment
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
cb2bb6ee6b
bug fix: properly stop ConnectionManager
...
It is possible (likely) that a manage call is in progress when
`stop` is called. When that happens, _manage will continue to
run, and schedule another call - and the manager won't actually stop,
and will likely cause an error as other components have been torn down.
This fix adds a deferred that gets created when a manage call starts
and is fired when its done. At this points its safe to start the
stopping process. Also add a check to not schedule another manage
call if we're stopped
This fixes https://app.asana.com/0/142330900434470/239832897034382
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
0bb62515a8
reorder functions to match call order
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
f535d96929
switch stop to inlineCallback
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
15c5075d38
refactor closing peers
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
2449604844
fixup: bug fix for stopping downloads
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
6035a84675
bug fix for stopping downloads
...
deferredlist returns a tuple of (success, result) and the previous
code was looking at the entire tuple not the success values.
2017-01-13 08:24:05 -06:00
Job Evers-Meltzer
1151019186
Improve downloader error handling
...
Instead of having an error cause a timeout, send
the error directly to the callback
2017-01-13 08:24:05 -06:00
Job Evers-Meltzer
8075ced1af
bug fix for file_seed
...
cannot return a deferred in inlineCallbacks, it must be a value
2017-01-13 08:23:52 -06:00
Job Evers-Meltzer
1b2c46e224
make _download_manager private
2017-01-13 08:19:23 -06:00
Job Evers-Meltzer
20f113d3da
bug fix: jsonrpc methods no longer have a 'result' key
2017-01-12 09:55:38 -06:00
Job Evers‐Meltzer
61702ba1e4
Merge pull request #301 from lbryio/query-available-blobs
...
Query available blobs and Upload to Lighthouse Scripts
2017-01-12 08:42:08 -06:00
Alex Grintsvayg
d06211015d
api doc generator
2017-01-11 17:30:16 -05:00
Alex Grintsvayg
86aa8e1de0
updates based on job's comments
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
495a48add1
appveyor is a line-length nazi
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
a6457d2c0a
detect authentication error and warn accordingly
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
5c429e15bd
remove authjsonrpc subhandlers. we dont use them
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
05725e0dc9
rpc works with authentication
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
53acb2d9cd
restore one deprecated method (for now)
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
f050337dbc
incorporate job's changes
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
6d7b09a3aa
remove return codes that are not being used
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
dd87aa3ce6
make sure deprecated methods still return results
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
b602b09ca3
better cli help
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
628defa891
remove extraneous ellipses in messages
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
962edb8e4c
rename api endpoints
2017-01-11 15:39:28 -05:00
Job Evers-Meltzer
5dbf9034ec
Add scripts related to querying / downloading sd blobs
2017-01-11 12:05:34 -06:00
Umpei Kay Kurokawa
a67aab0797
Merge pull request #393 from lbryio/fix_github_version_request
...
Fix obtaining version from github
2017-01-10 20:42:08 -05:00
Kay Kurokawa
52500bfbf5
use latest release for getting lbryum version, add a timeout when requesting lbrynet/lbryum version
2017-01-10 12:55:47 -05:00
Job Evers‐Meltzer
c393bd97e8
Merge pull request #388 from lbryio/hash-announce
...
ensure hash_announcer exists before announcing
2017-01-09 15:23:53 -06:00
Job Evers‐Meltzer
d32bb9270a
Merge pull request #376 from lbryio/add-id
...
add id field to jsonrpc response
2017-01-09 15:23:24 -06:00
Kay Kurokawa
9e7b69f4a0
fix publish output
2017-01-09 14:35:29 -05:00
Job Evers-Meltzer
68887d145f
cleanup whitespace for increased readability
2017-01-06 08:04:18 -06:00
Job Evers-Meltzer
f37808859f
ensure hash_announcer exists before announcing
2017-01-06 08:00:22 -06:00
Job Evers
abc122f77b
Don't send log messages to loggly in dev mode
2017-01-03 22:17:44 -06:00
Job Evers
0ababb7f3b
Route twisted logging messages to the python stdlib logger
2017-01-03 22:16:57 -06:00
Job Evers-Meltzer
30af8a0e20
Bump version: 0.7.12rc4 → 0.7.12
2017-01-03 21:09:25 -06:00
Job Evers
c2fc15160f
Fix watch
...
I changed the _download_name return type without realizing that
it was also used by the watch endpoint. This switches the endpoint
to go through get so that watches can be tracked just like downloads
2017-01-03 18:08:31 -06:00
Job Evers-Meltzer
40d4f5a292
Bump version: 0.7.12rc3 → 0.7.12rc4
2017-01-03 15:29:20 -06:00
Job Evers‐Meltzer
38e6b4e6c6
Merge pull request #379 from lbryio/open-ui-asap
...
open the ui as soon as possible
2017-01-03 15:28:50 -06:00
Jack
3541625825
move launch into own function
2017-01-03 15:51:42 -05:00
Job Evers‐Meltzer
f8f83fccf1
Merge pull request #375 from lbryio/fix-stop-errors
...
Fix stop errors
2017-01-03 14:13:24 -06:00
Jack
5f8a06443c
open the ui as soon as UIManager finishes setting itself up
2017-01-03 11:44:29 -05:00
Job Evers
4e0194d576
add id field to jsonrpc response
2017-01-02 20:12:37 -06:00
Job Evers
16fc416d88
more informative name error
2017-01-02 19:47:34 -06:00
Job Evers
6faee910de
Raise exception if lbry_file can't be found
2017-01-02 19:46:40 -06:00
Job Evers
f7308beee9
upgrade txJson-RCP to 0.5
...
The older version we were running didn't support jsonrpc v2 for
error codes, which both the command line client and ui client
were expecting.
2017-01-02 19:15:25 -06:00
Job Evers-Meltzer
5233dc303e
Bump version: 0.7.12rc2 → 0.7.12rc3
2017-01-02 17:18:46 -06:00
Job Evers‐Meltzer
3d0913ca94
Merge pull request #373 from lbryio/bundled-version
...
Set ui_version for Bundled UI
2017-01-02 17:17:31 -06:00
Job Evers‐Meltzer
c37bb0d1ed
Merge pull request #372 from lbryio/fix-stop
...
fix the stop script
2017-01-02 16:50:34 -06:00
Job Evers-Meltzer
a4a9a2b0b0
fix the stop script
2017-01-02 16:40:50 -06:00
Job Evers-Meltzer
9e320921a9
Bump version: 0.7.12rc1 → 0.7.12rc2
2017-01-02 16:12:35 -06:00
Jack
2cf08fda2d
use urllib for loggly url formatting
2017-01-02 16:09:28 -05:00
Jack
c2c7d2b327
send bug reports to slack
2017-01-02 14:52:24 -05:00
Job Evers‐Meltzer
585f802a91
Merge pull request #370 from lbryio/fail-wallet
...
Stop eating wallet connection error
2017-01-02 12:02:35 -06:00
Job Evers-Meltzer
26cf04e0c1
refactor requirements parsing
2017-01-02 12:01:55 -06:00
Job Evers-Meltzer
3bb8f4ac21
set ui_version for bundled ui
2017-01-02 12:01:55 -06:00
Job Evers-Meltzer
a5c25ff887
Stop eating wallet connection error
2016-12-30 22:34:08 -06:00
Job Evers-Meltzer
e823bb2012
Bug fix in auth.server
...
Fixes a mistake in fa8190356a
,
where an usage of _log_and_render_error was overlooked
2016-12-30 16:48:44 -06:00
Job Evers-Meltzer
eec25791a5
fix lbryid in settings dict
...
The lbryid is stored as raw bytes, need to hexlify
it before sending it over to the client
2016-12-30 16:47:50 -06:00
Job Evers-Meltzer
18a47a048a
Bump version: 0.7.12rc0 → 0.7.12rc1
2016-12-30 15:42:13 -06:00
Job Evers‐Meltzer
6936dbd588
Merge pull request #369 from lbryio/track-errors
...
track errors in analytics
2016-12-30 15:39:41 -06:00
Job Evers‐Meltzer
621530b3b8
Merge pull request #367 from lbryio/analytics-on-get
...
Analytics on get
2016-12-30 15:39:06 -06:00
Job Evers-Meltzer
123fda1844
track errors in analytics
2016-12-30 15:09:34 -06:00
Job Evers-Meltzer
1299c23bcc
fix cli
2016-12-30 15:07:24 -06:00
Job Evers-Meltzer
1747f53276
Remove _set_events
...
Function was removed in 101985ca11
,
but wasn't removed from setup()
2016-12-30 14:42:03 -06:00
Job Evers-Meltzer
669a567545
add id to link download events
2016-12-30 13:35:16 -06:00
Job Evers-Meltzer
6bdc9069c9
on get, first check if we already have the name
2016-12-30 13:35:16 -06:00
Job Evers-Meltzer
ad1e2650e3
add events for downloading stages
2016-12-30 13:31:20 -06:00
Job Evers-Meltzer
1bf1b7624c
more inlineCallback cleanup
2016-12-30 13:28:38 -06:00
Job Evers-Meltzer
0b53fde352
refactor connectionmanager to use inlineCallbacks
2016-12-30 13:28:34 -06:00
Job Evers-Meltzer
4eb10b56c1
small changes
2016-12-30 13:27:17 -06:00
Job Evers-Meltzer
227323b7a4
convert more to inlineCallbacks
2016-12-30 13:27:16 -06:00
Job Evers-Meltzer
1256beea96
remove blob_requester from DownloadManager
2016-12-30 13:27:16 -06:00
Job Evers-Meltzer
01cc4f28e0
Refactor jsonrpc_get
...
Convert some of the calls to inlineCallbacks, which
allowed the code to be cleaned up and made more clear
2016-12-30 13:27:12 -06:00
Job Evers-Meltzer
689ac431d3
bug fix in log.fail()
...
The value of the callback needs to be returned. In particular,
this allows the error to be passed along.
2016-12-30 13:22:06 -06:00
Job Evers-Meltzer
ccfb1f3921
refactor: name private/public variables
2016-12-30 13:22:06 -06:00
Job Evers-Meltzer
5eecae8889
record server startup event as part of start_server
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
5aa10031bc
Move log_support import earlier
...
Since log_support configures the logging class, it needs
to be early in the initialization process.
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
52010ade41
add docstring
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
101985ca11
Remove analytics setup code from daemon
...
Now that lbryid and session_id are available at startup
we don't need to reconfigure the analytics manager
inside the daemon
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
8f61fb3fc4
Initialize settings, along with lbryid and session_id on startup
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
39b2e44492
Replace settings with conf.settings
...
In the next commit I change conf.settings to be initialized
at runtime instead of load time and so any import of
`from lbrynet.conf import settings` will be and stay None if
it happens before the initialization.
2016-12-30 13:05:18 -06:00
Job Evers-Meltzer
26bc6d05a0
Consistently use lbryid over lbry_id variable name
2016-12-30 12:40:36 -06:00
Job Evers‐Meltzer
47f71fd363
Merge pull request #360 from lbryio/store-offer
...
Only store the offer explicitly when its sent
2016-12-30 12:15:06 -06:00
Job Evers‐Meltzer
4574e3317c
Merge pull request #363 from lbryio/wallet-storage
...
Wallet storage
2016-12-30 11:41:38 -06:00
Job Evers‐Meltzer
b59c098d58
Merge pull request #364 from lbryio/fix_serverprotocol
...
Fix bug in server protocol
2016-12-30 11:28:08 -06:00
Alex Liebowitz
da0b4e9a1a
Fix typo in set_settings API method
2016-12-30 05:00:28 -05:00
Kay Kurokawa
7d5dd1ff51
fix bug in ServerProtocol
2016-12-28 14:34:38 -05:00
Job Evers-Meltzer
2c7fc3fb46
switch startup sequence to use inlineCallbacks
...
This cleans up the process, makes it more readable,
and better surfaces errors.
2016-12-28 11:21:10 -06:00
Job Evers-Meltzer
fc24d9b5aa
pull out metadata storage from the wallet
2016-12-28 11:18:55 -06:00
Kay Kurokawa
da366495b0
fixing get_value_for_name bug
2016-12-28 10:37:53 -05:00
Umpei Kay Kurokawa
552ed77882
Merge pull request #358 from lbryio/fix_wallet_init_3
...
Fix wallet initialization
2016-12-22 12:12:27 -05:00
Jack Robison
aa3353ae49
Merge pull request #345 from lbryio/better-dht-shutdown
...
Better dht shutdown.
2016-12-21 17:15:17 -05: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
Kay Kurokawa
1690e71ad1
setup Commands class on run, instead of on initialization
2016-12-19 19:15:59 -05:00
Kay Kurokawa
7d02e7d370
changing wallet initialization order
2016-12-19 19:15:50 -05:00
Kay Kurokawa
10810226ff
Fixing bug in publisher
2016-12-19 18:41:35 -05:00
Jack Robison
c0f22decd7
Merge pull request #347 from lbryio/log-error-on-lbry-files
...
Log failure when attempting to get_lbry_files
2016-12-19 16:22:37 -05:00
Jack
618d0ebd5b
newline
2016-12-19 13:40:33 -05:00
Jack
f301741807
re-use lbryid
2016-12-19 13:27:45 -05:00
Jack
0044d6cf75
BlobAvailabilityTracker.sample bug, remove whitespace
2016-12-17 20:05:27 -05:00
Jack
5a76a03cb6
remove unqlite requirement
...
-conditionally import PTCWallet (needed for testing, requires unqlite)
-install unqlite on travis and appveyor
2016-12-17 20:03:35 -05:00
Jack
09846413bd
remove Settings.py
...
remove old settings class, which was only used for the lbryid and
required unqlite.
this allows the daemon startup to be simplified, it previously relied
on Settings in a few places. lbryid had been stored in the old
settings, this initializes it at startup.
2016-12-17 20:01:06 -05:00
Job Evers-Meltzer
a8cb255d24
Bump version: 0.7.11rc0 → 0.7.12rc0
2016-12-16 21:45:02 -06:00
Job Evers-Meltzer
6172924021
Bump version: 0.7.8 → 0.7.11rc0
2016-12-16 20:58:24 -06:00
Job Evers-Meltzer
d5d0d0e31c
change error log on resolve-name to info
2016-12-16 19:51:10 -06:00
Job Evers-Meltzer
53df361d23
Log failure when attempting to get_lbry_files
...
I had an old version of lbryum installed and so no
names were coming back. But the daemon was failing
silently. This at least logs the error.
2016-12-16 00:32:06 -06:00
Job Evers-Meltzer
8fe15f507b
Better dht shutdown.
...
The old code relied on the timing of DelayedCalls
to see what had been called or not, but unfortunately
we don't have a real-time OS so the timing on DelayedCalls
can only be approximate. Changed to explicitly keep
track of which calls had been made.
This simplifies the shutdown logic drastically, and I believe
we can take out the reactor.iterate() now
2016-12-15 23:44:35 -06:00
Job Evers‐Meltzer
3dde7af576
Merge pull request #339 from lbryio/all-prs
...
All The PRs
2016-12-15 19:42:35 -06:00
Job Evers-Meltzer
7af6e9e0dd
Improve BlobAvailabilityTracker performance
...
For daemons with a lot of blobs, getting mean availabity
will be slow. Samples the blobs in an attempt at getting
better performance.
2016-12-15 19:03:37 -06:00
Job Evers-Meltzer
56d394fb5f
Add timing to hash announcements
...
This could potentially be a performance issue
on reflector or any daemon with a large number of blobs.
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
3585d861ff
Add TRACE level logging
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
f181af8547
Cleanup code in BlobManager
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
84baa5e065
dht: refactor _msgTimeout
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
781b915717
remove unused check_consistency function
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
fa29c92760
Add setting to disable reuploading to reflector
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
fec917b9c1
rename platform to system_info
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
4f3b5cd802
Better logging on DHT errors
...
Timeout errors are common on the dht so log those
at debug, but other errors need to (potentially) recieve
more attention
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
250831a86a
remove unused distance function from routingtable
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
323bccb0ae
another distance optimization
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
0084d4684f
Add distance optimization
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
740fad5cbe
Refactor dht.node.iterativeFind
...
Move nested functions into a helper class.
Add new, smaller functions to increase readability
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
fa8190356a
replace log_support.failure calls
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
4ca33505b5
logging: add kwargs to fail() call
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
20b6b22334
Add callback functionality to log.fail
...
This enables the common pattern of being able to log a failure and
then do something.
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
b8c91c61bb
Make a new logger with a fail method that is useful for errbacks.
...
Extracting useful tracebacks and line numbers from failures
withing twisted's deferred can be a pain. Hopefully this is a step
in the right direction.
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
c30ea04959
Remove commented code
...
This is the result of running eradicate (https://github.com/myint/eradicate )
on the code and double-checking the changes.
2016-12-15 18:58:06 -06:00
Kay Kurokawa
23bf43f40c
fixing bug where broadcast_transaction function would not return a deferred
2016-12-15 10:28:49 -05:00
Kay Kurokawa
6f60b8b827
work on resolving threading issues with lbryum in Wallet.py
2016-12-15 10:28:49 -05:00
Kay Kurokawa
965f8f1238
removing unused get_transaction function from daemon and wallet
2016-12-15 10:28:49 -05:00
Job Evers-Meltzer
7bce37a720
pylint: add check for missing-final-newline
2016-12-14 19:21:59 -06:00
Job Evers-Meltzer
14ac2bac39
pylint: fix trailing-whitespace
2016-12-14 19:21:59 -06:00
Jeremy Kauffman
32fa2460ff
sort the help functions
2016-12-14 19:21:54 -06:00
Job Evers-Meltzer
f796f701f2
Immediately announce completed blobs
...
It doesn't seem necessary to wait up to 60 seconds for a new blob to
be announced to the dht. Immediately announce it and schedule the next
announce time as usual.
2016-12-14 19:05:24 -06:00
Kay Kurokawa
bce41ddab4
Do not return 'success' and 'reason' as outputs in claim commands
...
We throw an Exception instead
2016-12-14 19:05:05 -06:00
Jack
5bf20096b2
fix wallet_balance when checking fee amount
2016-12-12 14:32:33 -05:00
Job Evers-Meltzer
e8faadc324
fix more long lines
2016-12-07 10:10:46 -05:00
Job Evers-Meltzer
b64fa51567
fixup long lines
2016-12-07 09:38:34 -05:00
Job Evers-Meltzer
fe3e25982c
don't lint unused files
2016-12-07 09:35:16 -05:00
Jack Robison
9ad55e93b9
Merge pull request #315 from kaykurokawa/fix_claim_bug
...
Fix bug to exclude support in get_my_claim
2016-12-07 09:25:44 -05:00
Jack Robison
9e7e168175
Merge pull request #319 from lbryio/reenable-startup-status-codes
...
Reenable startup status
2016-12-06 17:00:03 -05:00
Jack Robison
f84df50d7f
Merge pull request #317 from lbryio/remove-lbrynet-console
...
Remove lbrynet-console
2016-12-06 16:59:52 -05:00
Jack
f0ed4e5513
move listen to DaemonServer startup
2016-12-06 16:34:50 -05:00
alexliebowitz
39005ffc14
Merge pull request #310 from lbryio/allow-cors-config
...
allow Access-Control-Allow-Origin to be configurable
2016-12-06 15:11:38 -05:00
Jack Robison
28e88d89a5
Merge pull request #313 from lbryio/config-bittrex
...
Add bittrex to conf
2016-12-06 12:41:45 -05:00
Jack
979f8efa79
remove unused lbrynet-console
2016-12-06 12:35:27 -05:00
Jack Robison
4c4bccfe73
Merge pull request #312 from lbryio/local-ui-conf
...
local_ui_path needs to be a str
2016-12-06 12:23:45 -05:00
Jack
8cb0f99e30
fix pylint errors
2016-12-06 12:22:43 -05:00
Umpei Kay Kurokawa
6076861cd0
Merge pull request #304 from kaykurokawa/remove_lbrycrd
...
Remove lbrycrdd
2016-12-06 12:06:09 -05:00
Job Evers‐Meltzer
8b427a92ac
Merge pull request #311 from lbryio/fix-server-port
...
port needs to be an int
2016-12-06 09:48:08 -05:00
Kay Kurokawa
9c50cfdcdb
fix bug in get_my_claim
2016-12-05 17:17:17 -05:00
Job Evers-Meltzer
8f80e8a3da
add bittrex to conf
2016-12-05 17:14:25 -05:00
Job Evers-Meltzer
cd44ae02a3
__getattr__ should call __getattribute__
2016-12-05 17:06:45 -05:00
Job Evers-Meltzer
848f1f025c
local_ui_path needs to be a str
2016-12-05 16:29:18 -05:00
Job Evers-Meltzer
d2cc8355dc
port needs to be an int
2016-12-05 16:20:16 -05:00
Job Evers
ee00d1984a
allow Access-Control-Allow-Origin to be configurable
2016-12-05 15:34:48 -05:00
Jack
b9bb337a07
add tests for daemon.get_est_cost
2016-12-05 11:48:44 -05:00
Jack
d93f86030c
clean up get_est_cost functions
2016-12-05 11:48:44 -05:00
Jack
d9e1e88c05
refactor get_est_cost
...
-add size parameter, if provided the sd blob won’t be downloaded (can
be used with size information from lighthouse)
-check if blob was already downloaded before trying to download it again
2016-12-05 11:48:43 -05:00
Job Evers-Meltzer
f579c8dbb8
Bump version: 0.7.7 → 0.7.8
2016-12-02 20:05:08 -06:00
Jack Robison
13d74d1f76
Merge pull request #297 from lbryio/better-name-error
...
Provide better feedback on why a name is invalid
2016-12-02 12:08:58 -05:00
Job Evers-Meltzer
ddf678af8a
Bump version: 0.7.7rc0 → 0.7.7
2016-12-02 09:47:27 -06:00
Job Evers‐Meltzer
2c6d6d1602
Merge pull request #303 from lbryio/settings-api-fixes
...
Fixes to get_settings() and set_settings()
2016-12-02 09:41:22 -06:00
Alex Liebowitz
7d0e9f6ab9
Tweak logic in ApplicationSettings
...
Use self.environ instead of ENVIRONMENT to avoid global reference
2016-12-01 23:51:58 -05:00
Kay Kurokawa
200a22c93b
Remove support for lbrycrdd wallet and related code
2016-12-01 16:45:48 -05:00
Alex Liebowitz
458561fe6f
In AdjustableSettings, initialize all keys on init
...
Settings.update() method expects keys to already be present, so load
them all up front
2016-12-01 15:22:52 -05:00
Alex Liebowitz
157d6dca93
Save settings in conf.py
2016-12-01 15:22:52 -05:00
Alex Liebowitz
7b1b7fbf13
Call conf.settings.get_dict() in jsonrpc_get_daemon_settings()
2016-12-01 15:22:51 -05:00
Alex Liebowitz
876cdce51f
Add Config.get_dict()
...
We don't want the version from DefaultSettings, so use super() to get
the standard functionality from conf.Settings.
2016-12-01 15:22:51 -05:00
Alex Liebowitz
205a10bc8e
Refactor how adjustable settings are pulled out of config.settings
...
- Factor out this functionality into separate method
- Change the set_settings() JSON-RPC method to use this (before, it was
just returning all fields, which doesn't work anymore after the
settings refactor)
2016-12-01 15:22:51 -05:00
Alex Liebowitz
ef8d1cfdc2
Rename var in Settings.update()
2016-12-01 15:22:51 -05:00
Alex Liebowitz
879c01ba00
Add separate list of excluded fields to AdjustableSettings
...
Adds "environ" field. Also renames __excluded to _excluded so it can
be overridden by child classes.
2016-12-01 15:22:44 -05:00
Alex Liebowitz
8bb7517f32
Merge pull request #300 from kaykurokawa/fix_claim_defer
...
Missing the return of a defer.fail when claim fails, changing to raise Exception
2016-12-01 13:49:29 -05:00
Job Evers-Meltzer
70d9b3ed74
Attempt to fix analytics badstatusline error
...
We've started seeing a lot of:
ConnectionError: ('Connection aborted.', BadStatusLine("''",))
Hopefully this fixes the problem. Its hard to test, so I'll
have to check the logs after releasing.
2016-12-01 12:13:12 -06:00
Job Evers-Meltzer
f39a21cf7b
Provide better feedback on why a name is invalid
2016-12-01 11:02:37 -06:00
Umpei Kay Kurokawa
67b169c5a1
Merge pull request #300 from kaykurokawa/fix_claim_defer
...
Missing the return of a defer.fail when claim fails, changing to raise Exception
2016-11-30 23:08:48 -05:00
Kay Kurokawa
ff10546152
Missing the return of a defer.fail when claim fails, changing to raise Exception
2016-11-30 22:57:23 -05:00
Kay Kurokawa
360f4e50a0
converting some log.info to log.debug in Wallet
2016-11-30 16:37:28 -05:00
Job Evers‐Meltzer
f11f486f5a
Merge pull request #292 from lbryio/allow-rc
...
allow for rc in version values
2016-11-30 14:16:17 -06:00
Jack Robison
fe53cc97d9
Merge pull request #285 from lbryio/more-flexible-origin-check
...
Allow 0.0.0.0 for api interface
2016-11-30 14:04:52 -05:00
Jack
051e63d76b
don't allow 0 bid
2016-11-29 20:17:06 -05:00
Job Evers-Meltzer
8cdda7d845
Bump version: 0.7.6 → 0.7.7rc0
2016-11-28 23:33:57 -06:00
Job Evers-Meltzer
6a8789050c
Allow 0.0.0.0 for api interface
...
For a host to be able to access the daemon running inside a docker
container the damon needs to be listening to 0.0.0.0
- move the API_INTERFACE setting to the adjustablesettings
- check the port matches as well as the interface
2016-11-28 19:19:05 -06:00
Job Evers‐Meltzer
9140c95a0c
Merge pull request #291 from lbryio/fix-pylint
...
fix pylint errors
2016-11-28 15:32:16 -06:00
Job Evers-Meltzer
6f2e2e727e
fix pylint errors
2016-11-28 13:33:34 -06:00
Jack Robison
48b137fe4c
Merge pull request #287 from lbryio/version-add-lbry-id
...
get_lbry_session_info
2016-11-28 14:26:43 -05:00
Jack
a6326ee7a1
get_lbry_session_info
2016-11-28 14:16:21 -05:00
Jack
bfcd84a568
use nOut in addition with txid to identify claims
2016-11-25 16:59:23 -05:00
Alex Liebowitz
4cb2a8f2aa
Include LBRY ID in version() API method result
2016-11-23 20:29:45 -05:00
Alex Liebowitz
9d272befcd
Convert length of shortened plaintext LBRY ID to constant
2016-11-23 20:28:16 -05:00
Job Evers
91fb78b077
Update TODO with more useful info
2016-11-22 18:14:41 -06:00
Job Evers-Meltzer
464bd11c3a
Improve parsing of environment variables
...
Switch adjustable settings to use the envparse library. This
provides more flexible and robust parsing.
2016-11-22 18:14:36 -06:00
Job Evers-Meltzer
b88e771eb2
bug fix: use proper settings dictionary
2016-11-22 16:03:37 -06:00
Job Evers-Meltzer
7a76763610
rename Setting to Settings
2016-11-22 16:03:37 -06:00
Job Evers-Meltzer
02d2bad03f
allow json to be used to set settings
2016-11-22 16:03:37 -06:00
Jack Robison
f65a50a6a3
Merge pull request #260 from lbryio/error-messages
...
meaningful error messages, improve cli, remove unused search from daemon
2016-11-22 15:54:21 -05:00
Jack
0a9ef07787
Merge branch 'master' into error-messages
...
# Conflicts:
# lbrynet/lbrynet_daemon/Daemon.py
# lbrynet/lbrynet_daemon/auth/server.py
2016-11-22 15:44:47 -05:00
Jack Robison
0e9ad16a2e
Merge pull request #278 from lbryio/fix-uncaught-analytics-exception
...
fix uncaught analytics exception
2016-11-22 15:25:07 -05:00
Jack
cd0a9ba9e8
feedback from job
2016-11-22 15:18:01 -05:00
Jack
e08d0eb8f9
_log_and_render_error
2016-11-22 15:11:25 -05:00
Jack Robison
82f9cc57fd
Merge pull request #283 from lbryio/fail-blank-uri
...
fail verify_name_characters for blank uri
2016-11-22 13:55:12 -05:00
Jack
543f65fc24
fail verify_name_characters for blank name
2016-11-21 21:58:04 -05:00
Kay Kurokawa
896a16c15d
fix spelling mistake for auto connect
2016-11-19 19:29:58 -05:00
Job Evers-Meltzer
3d7dee1208
allow for rc in version values
2016-11-19 16:58:40 -06:00
Alex Liebowitz
e03db79f79
Always return array from jsonrpc_get_lbry_files()
...
Before, would return false when there were no files in the DB.
2016-11-16 23:57:02 -05:00
Jack
0b0150ad73
fix uncaught analytics exception
2016-11-16 19:10:49 -05:00
Jack Robison
0490250da4
Merge pull request #272 from lbryio/setup-ui-defaults
...
Give priority to arguments over settings in UIManager.setup()
2016-11-16 18:53:26 -05:00
Job Evers-Meltzer
dd952ddbe3
Bug fix: pkg_resources doesn't like cx_freeze.
...
Getting the location of bundling resources doesn't work
with cx_freeze so putting in some temporary error handling
while we figure out a better way to bundle the UI.
2016-11-16 15:15:46 -06:00
Alex Liebowitz
776fe41e03
Switch back to "or" style for default params in UIManager.setup()
2016-11-16 16:09:42 -05:00
Alex Liebowitz
8b1ea0a6a7
Give priority to arguments over settings in UIManager.setup()
2016-11-16 15:58:11 -05:00
Jack
ba7f326e72
use log_support
2016-11-16 15:16:15 -05:00
Job Evers-Meltzer
b9caf2c4a9
Bump version: 0.7.6rc0 → 0.7.6
2016-11-16 11:06:53 -06:00
Alex Grintsvayg
7ecc8103d8
improve error analytics
...
- move analytics creation earlier in the startup process
- add several events to track startup, startup failure, other errors
- abstract platform detection into separate file
- add "build" type to platform so we can differentiate devs vs live users
2016-11-15 10:31:35 -05:00
Alex Grintsvayg
6b72b4de11
use constants for wallet types
2016-11-15 10:31:35 -05:00
Job Evers‐Meltzer
8e1ad0aa8b
Merge pull request #270 from lbryio/survive-lbry-down
...
Bug fix: continue even if log fails to upload
2016-11-15 08:48:05 -06:00
Job Evers‐Meltzer
5b7f80487f
Merge pull request #271 from lbryio/log-lbryum-on-verbose
...
enable lbryum info logging when verbose
2016-11-15 08:47:51 -06:00
Job Evers-Meltzer
9940327b9a
enable lbryum info logging when verbose
2016-11-14 20:34:56 -06:00
Job Evers-Meltzer
b300afb504
Bug fix: continue even if log fails to upload
...
lbry.io being down caused lbrynet to die when uploading a log.
2016-11-14 20:16:34 -06:00
Job Evers-Meltzer
0941618048
move reflector blob client to its own module
2016-11-14 19:33:36 -06:00
Job Evers-Meltzer
abc7b11e26
remove repeated code for reflector
2016-11-14 19:33:36 -06:00
Job Evers-Meltzer
85dee27c92
whitespace
2016-11-14 19:33:36 -06:00
Jack
5ae3485411
Merge branch 'master' into error-messages
...
# Conflicts:
# lbrynet/dht/protocol.py
2016-11-14 14:11:02 -05:00
Jack
8f98469969
unused imports
2016-11-14 14:10:19 -05:00
Jack
e1cdbdc91d
fix coveralls error
2016-11-14 14:02:19 -05:00
Jack
908c9a3bfa
feedback from job
2016-11-14 13:53:11 -05:00
Jack
f45a2cba32
fix insufficient funds and max key fee bug
2016-11-14 13:41:05 -05:00
Jack Robison
763fefb33f
Merge pull request #256 from kaykurokawa/fix_get_my_claim
...
Update right after making claim will fail due to get_my_claim()
2016-11-14 13:37:54 -05:00
Job Evers-Meltzer
cd65b6fd13
Normalize python version
...
setuptools will force a version to be 'normalized'
which means that it removes the dash.
This will probably cause some weirdness on the version
numbers in the windows build; might have to re-work
my patches on cx_freeze: https://bitbucket.org/jobevers/cx_freeze/commits/all
2016-11-11 14:34:01 -06:00
Jack
472bb6af1b
remove unused lighthouse search from daemon
2016-11-11 13:43:58 -05:00
Jack
7f96e35b0e
clean up daemon imports and settings var name
2016-11-11 13:42:51 -05:00
Jack
f9fef3d586
reactor.iterate() in dht shutdown
...
-fixes enigmatic `’Port' object has no attribute 'socket’` error
2016-11-11 13:41:36 -05:00
Jack
ec4f9011b9
meaningful API error messages
2016-11-11 13:40:19 -05:00
Job Evers-Meltzer
d634c009d3
Bump version: 0.7.5 → 0.7.6-rc0
2016-11-11 12:04:21 -06:00
Job Evers‐Meltzer
a7589914d0
Merge pull request #267 from lbryio/fix-dht-ports
...
Restore reactor.iterate in dht shutdown
2016-11-11 11:42:43 -06:00
Job Evers‐Meltzer
0736fa506b
Merge pull request #266 from lbryio/startup-logging
...
more logging on startup
2016-11-11 11:11:02 -06:00
Job Evers‐Meltzer
edc89be794
Merge pull request #257 from lbryio/ensure-ui-loads
...
bug fix: ensure the bundled ui is loaded
2016-11-11 10:26:54 -06:00
Job Evers-Meltzer
d41881596d
Restore reactor.iterate in dht shutdown
...
This reverts the change made in 693fef1964
Not sure why this is needed, but taking this out sometimes causes
`exceptions.AttributeError: 'Port' object has no attribute 'socket'`
to happen on shutdown.
2016-11-11 10:21:50 -06:00
Job Evers-Meltzer
3b34bddf0a
more logging on startup
2016-11-11 10:14:41 -06:00
Jack Robison
0abc081edc
Merge pull request #259 from lbryio/use-whole-message-in-auth
...
use whole message to make hmac
2016-11-10 17:07:39 -05:00
Kay Kurokawa
11b36ff4c8
fixing to remove supports from get_my_claim
2016-11-10 12:52:35 -05:00
Alex Liebowitz
87cc487051
Fix deferred for loading user-specified UIs
...
In UIManager, pass self._load_ui into deferred as function object
instead of calling immediately
2016-11-10 03:47:32 -05:00
Jack Robison
5ea945ca0b
Merge pull request #249 from lbryio/settings-bugs
...
fix --wallet argument bug, use .json conf file if not given a .yml file
2016-11-09 16:53:46 -05:00
Kay Kurokawa
1f06339d5a
fix get_my_claim command
2016-11-09 15:19:58 -05:00
Job Evers-Meltzer
09d248b3cc
bug fix: ensure the bundled ui is loaded
2016-11-09 13:34:04 -06:00
Umpei Kay Kurokawa
28bf5215e4
Merge pull request #251 from kaykurokawa/fix_unknonwname_exc
...
fixing UnknownNameError exception initialization
2016-11-09 12:37:03 -05:00
Job Evers-Meltzer
61a354fa60
add bad-whitespace check to pylint
2016-11-09 11:27:07 -06:00
Job Evers-Meltzer
838508f342
Bundle the UI into non-tagged builds.
...
Updates the UIManager to check if a bundled UI was included
in the package and preferentially use that.
2016-11-09 09:29:39 -06:00
Alex Grin
9d82be6664
that server's not up anymore
2016-11-09 10:13:36 -05:00
Job Evers‐Meltzer
66745b0820
Merge pull request #242 from lbryio/shutdown-issues
...
Shutdown issues
2016-11-09 08:17:13 -06:00
Job Evers‐Meltzer
f845729adb
Merge pull request #246 from lbryio/refactor-upload
...
Refactor upload
2016-11-09 08:16:34 -06:00
Job Evers-Meltzer
6a587d03cf
refactor upload endpoint
2016-11-09 08:16:08 -06:00
Job Evers-Meltzer
affb7d837a
better logging, cleanup whitespace
2016-11-09 08:16:08 -06:00
Kay Kurokawa
4ad6405f35
fixing UnknownNameError exception initialization
2016-11-08 14:28:17 -05:00
Jack
297865902b
use json conf file if not given yml
2016-11-05 14:23:48 -04:00
Jack
ab15074ae4
fix --wallet=lbrycrd argument
2016-11-05 14:10:26 -04:00
Job Evers-Meltzer
b68a1838f2
eliminate unused return value
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
43b2cd1433
cleanup whitespace and long-lines
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
0036685ece
use more readable KB, MB
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
d06c670a12
Allow publishing with unicode filenames
...
encodes unicode into a string before hashing. Also adds tests
to verify that the fix works and that normal files
can be made into EncryptedFiles
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
59c4593bf4
whitespace
2016-11-03 14:42:57 -05:00
Job Evers-Meltzer
5bccfdb244
add logging to shutdown process
2016-11-03 14:42:45 -05:00
Job Evers-Meltzer
10cb20d08f
fix whitespace and long-lines
2016-11-03 14:22:16 -05:00
Job Evers-Meltzer
693fef1964
remove reactor.iterate from dht shutdown
2016-11-03 10:43:24 -05:00
Job Evers-Meltzer
fe7700d726
Bump version: 0.7.4 → 0.7.5
2016-11-02 10:50:42 -05:00
Jack
7d04ae2237
use whole message to make hmac
2016-11-02 11:38:09 -04:00
Jack
c748572bf6
feedback from job
2016-11-02 11:32:46 -04:00
Jack
660bf74d42
fix missing conf file on first run
2016-11-02 10:41:47 -04:00
Job Evers-Meltzer
4db3be345b
Bump version: 0.7.3 → 0.7.4
2016-11-02 07:43:11 -05:00
Job Evers‐Meltzer
dcea8a8c78
Merge pull request #236 from lbryio/better-log-and-kill
...
More robustly stop the reactor
2016-11-02 07:36:21 -05:00
Job Evers-Meltzer
815696485f
More robustly stop the reactor
...
Was getting a "cannot stop a reactor that isn't running error"
when playing around with error handling on startup.
Following the suggestion from http://stackoverflow.com/a/36738480
it seems to work better
2016-11-02 07:23:37 -05:00
Job Evers‐Meltzer
b316b56885
Merge pull request #234 from lbryio/unicode-settings
...
download directory and ui bug fixes for windows
2016-11-02 07:19:51 -05:00
Job Evers‐Meltzer
269dc47b69
Merge pull request #230 from kaykurokawa/better_stream_info_error
...
Better error detection in Wallet for invalid streams
2016-11-02 07:13:48 -05:00
Jack
96ef5089fc
fix data_dir problem in UIManager
2016-11-01 16:40:50 -04:00
Job Evers-Meltzer
c0d96a5733
fix bug in jsonrpc_get_settings
2016-11-01 15:39:51 -05:00
kkurokawa
7dd5e7ceeb
spacing after comma fix, use Exception init in InvalidStreamInfoError
2016-11-01 16:35:44 -04:00
Jack
9de7354ea0
drop connection on failed read blob
2016-11-01 16:32:34 -04:00
Jack
cfbdda411a
whoops
2016-11-01 13:23:02 -04:00
Jack
96c4837cb8
clean up errback
2016-11-01 13:19:13 -04:00
Jack
2294e6bf36
Merge branch 'master' into unicode-settings
2016-11-01 13:06:20 -04:00
Jack
4cffc32328
catch availability check error
2016-11-01 13:05:19 -04:00
Jack
d1b23e25d9
allow unicode settings
2016-11-01 12:53:04 -04:00
Job Evers-Meltzer
e5ba70c3ba
Bump version: 0.7.2 → 0.7.3
2016-11-01 11:38:45 -05:00
Job Evers‐Meltzer
c88e4aecf5
Merge pull request #232 from lbryio/read-config
...
Read config
2016-11-01 11:33:17 -05:00
Job Evers‐Meltzer
469df84990
Merge pull request #229 from kaykurokawa/fix_updates
...
Fix updates in name_claim function
2016-11-01 11:16:03 -05:00
Job Evers-Meltzer
30533a7986
Read config file in windows and osx
...
Also moves the config loading to BEFORE the log configuration
2016-11-01 11:14:04 -05:00
kkurokawa
39b47bc569
better error detection in _get_stream_info_from_value
2016-11-01 10:34:08 -04:00
Job Evers‐Meltzer
96104e65ed
Merge pull request #226 from lbryio/start-tcp-earlier
...
Start listening before launching browser
2016-11-01 07:33:33 -05:00
kkurokawa
e9bab33e2a
fixing claim updates
2016-10-31 19:17:37 -04:00
Job Evers-Meltzer
3b6006d759
Start listening before launching browser
2016-10-31 14:00:07 -05:00
Job Evers-Meltzer
9ca80a7cf7
set lbryum to log at warning level
...
lbryum is very chatty at the info level. As a rough estimate a bit
over half of our logs in loggly are a result of lbrum.
The better, long-term, solution would be to modify lbryum to move more
logs to the debug level.
2016-10-30 16:47:37 -05:00
Job Evers-Meltzer
9baf261cb3
Bump version: 0.7.1 → 0.7.2
2016-10-30 14:47:21 -05:00
Job Evers-Meltzer
f03a15d503
remove unneeded 'after_first_run' check
2016-10-30 14:46:16 -05:00
Job Evers-Meltzer
1a70a20c8b
Bump version: 0.7.0 → 0.7.1
2016-10-30 10:57:41 -05:00
Job Evers-Meltzer
359cb83fab
change windows log file location
2016-10-30 10:46:58 -05:00
Job Evers-Meltzer
0893858385
Bump version: 0.6.10 → 0.7.0
2016-10-28 18:03:40 -05:00
Job Evers-Meltzer
864e963dea
Merge remote-tracking branch 'origin/master' into reflect-my-unavailable-streams
...
Conflicts:
lbrynet/core/log_support.py
2016-10-28 17:16:39 -05:00
Job Evers-Meltzer
dee0917642
various fixes
2016-10-28 16:57:25 -05:00
Job Evers-Meltzer
395a68b261
For settings: On conversion failure, fallback to default values
2016-10-28 16:29:16 -05:00
Job Evers-Meltzer
353ede26b8
Log error when resolve name fails
2016-10-28 16:03:58 -05:00
Job Evers‐Meltzer
46cfa20f65
Merge pull request #204 from lbryio/cleanup-logging
...
Cleanup logging
2016-10-28 15:56:54 -05:00
Jack
da601818a3
return from restore_status properly
2016-10-28 16:47:45 -04:00
Job Evers-Meltzer
6fa624ec8a
switch LogUploader to use an already encoded lbryid
2016-10-28 15:44:24 -05:00
Job Evers-Meltzer
779ba8e214
Fix missing conf imports
2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
6f9ec2fa66
remove repeated log code
2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
40437e4a82
log cleanup
2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
2ee6fac014
redo logging configuration for lbrynet-daemon script
2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
8fe5eb514a
make app startup consistent across versions
2016-10-28 15:41:48 -05:00
Jack
c4312cc387
Merge branch 'master' into reflect-my-unavailable-streams
2016-10-28 16:05:16 -04:00
Jack
110a9b1e0f
whoops
2016-10-28 15:56:22 -04:00
Jack
035a1cf758
feedback from job
2016-10-28 15:48:51 -04:00
Jack
d4785849e1
remove unused imports
2016-10-28 14:22:37 -04:00
Job Evers-Meltzer
b41756e38a
Bump version: 0.6.9 → 0.6.10
2016-10-28 12:29:15 -05:00
Job Evers-Meltzer
862055a6de
move settings into conf file
2016-10-27 14:31:27 -05:00
Job Evers-Meltzer
7076c0c870
Require env settings are in LBRY namespace
2016-10-27 11:05:21 -05:00
Job Evers-Meltzer
2cd6c644a0
Merge remote-tracking branch 'origin/master' into refactor-settings
...
Conflicts:
lbrynet/lbrynet_daemon/Daemon.py
lbrynet/lbrynet_daemon/DaemonControl.py
lbrynet/lbrynet_daemon/DaemonServer.py
2016-10-27 10:34:48 -05:00
Job Evers-Meltzer
0edacbe4c8
Merge remote-tracking branch 'origin/master' into refactor-settings
...
Conflicts:
lbrynet/conf.py
lbrynet/lbrynet_daemon/Daemon.py
lbrynet/lbrynet_daemon/DaemonCLI.py
lbrynet/lbrynet_daemon/UIManager.py
tests/functional/test_misc.py
2016-10-27 10:18:56 -05:00
Jack
127987f3ba
upload log if lbry id is not yet set, clean up crash log
2016-10-26 17:39:47 -05:00
Job Evers-Meltzer
3c7eec9456
raise error if database is newer
2016-10-26 17:39:46 -05:00
Job Evers-Meltzer
5d45345398
shutdown if there are errors during setup
2016-10-26 17:39:43 -05:00
Jack
369cd516c0
move availability check and fix from ManagedEncryptedFileDownloader to ReflectorAvailabilityHelper
2016-10-26 16:17:01 -04:00
Jack
24320d6444
remove debug line
2016-10-26 03:22:45 -04:00
Jack
1951ea09cd
updates from master, more refactoring
...
-lbrynet.lbrynet_daemon.auth.client.LBRYAPIClient.config will detect if
it needs to return the auth/non-auth version
2016-10-26 03:16:33 -04:00
Job Evers-Meltzer
4d391e7429
Use better json formatting
...
Apply json.dumps at the end of the formatting process instead of the
middle. This allows for proper escaping of quotes and allows for
actual json to be emitted.
2016-10-25 17:49:35 -05:00
Job Evers‐Meltzer
fb88cdb445
Merge pull request #203 from lbryio/github-bug
...
catch exception if github is down
2016-10-24 11:02:12 -05:00
Job Evers-Meltzer
e62e2cc440
catch exception if github is down
2016-10-21 16:12:56 -07:00
Job Evers-Meltzer
a5797cdeb3
Better handling of lbry file search
...
- replace lbry file search strings with constants
- refactor repeated code for deciding what search type to use
2016-10-20 16:01:54 -07:00
Jack
3dd99fdc92
upload unavailable streams to reflector on startup
2016-10-20 15:40:35 -04:00
Job Evers-Meltzer
0c2265a8da
replace some strings
2016-10-20 11:30:38 -07:00
Job Evers-Meltzer
01811621a6
shorten is_valid_blobhash logic
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
229ed0d7dc
rename summarize to summarize_and_reset
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
7f800ce5bb
fix rebase error
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
aa291ca79a
fix pylint
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
fbf7928412
rename events to be seperate for each metric
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
7167d47631
bug fixes
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
8b1bb673c1
report available blobs
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
417a8f719f
Add looping call manager to analytics manager
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
ddb88eb1c9
move LoopingCallManager to own module
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
d5f0001950
small cleanups
2016-10-20 11:29:15 -07:00
Job Evers-Meltzer
4a07b56e8a
refactor analytics manager to use dependency injection
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
9da1b3c5b7
analytics manager bug fix
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
f9f07c47e2
move analytics manager
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
f5213fb77a
GetFileHelper bug fixes
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
48a61605de
bug fix: looping calls
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
76fb7697ff
misc
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
b71a3fee43
add tracked metrics reporting to analytics
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
3a91896d8a
track the amount of data uploaded
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
36ae0d5f20
remove utils file - function moved to core
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
3f727d892c
refactor events; add tests
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
9416376a34
refactor: add GetFileHelper
...
Move the code related to getting a lbry file into
its own class
2016-10-20 11:26:10 -07:00
Job Evers-Meltzer
66e139c566
set development version based on environment variable
2016-10-20 11:26:10 -07:00
Job Evers-Meltzer
d0a82c68df
move analytics related calls into their own class
2016-10-20 11:25:17 -07:00
Job Evers-Meltzer
93e2b3e20a
Extract some looping call code out of the daemon
2016-10-20 11:25:17 -07:00
Job Evers-Meltzer
2e59e5e3b8
extract individual functions
2016-10-20 11:16:36 -07:00
Jack
727ea12dbd
Bump version: 0.6.8 → 0.6.9
2016-10-20 12:41:49 -04: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-Meltzer
9ba38c84cc
Bump version: 0.6.7 → 0.6.8
2016-10-19 15:56:58 -07:00
Jack Robison
d4aa109b73
Merge pull request #193 from lbryio/check-remote-conn
...
Use lbry.io instead of google to check for internet connection
2016-10-19 15:06:33 -04:00
Jack
293933163f
move USE_AUTH_HTTP to adjustable settings
2016-10-19 14:59:10 -04:00
Jack
22fc26797d
pylint fixes
2016-10-19 14:40:01 -04:00
Jack
8a95c8b7af
whoops
2016-10-19 14:26:19 -04:00
Jack
33674f8cc3
remove logging in conf, rearrange platform
2016-10-19 00:39:19 -04:00
Jack
6799de645b
Merge branch 'master' into refactor-settings
...
# Conflicts:
# packaging/osx/lbry-osx-app/lbrygui/LBRYApp.py
# packaging/windows/lbry-win32-app/LBRYWin32App.py
2016-10-19 00:19:45 -04:00
Jack
06a88599df
--http-auth flag to use authentication, refactor settings
...
settings will prefer, in order:
-defaults
-settings in config file
-settings given as environmental variables
-settings given as command line args
2016-10-19 00:12:44 -04:00
Jack
03877f7ebd
remove str
2016-10-18 17:11:45 -04:00
Job Evers
6b7d575e95
use lbry.io to check for an internet connection
2016-10-17 20:11:08 -05:00
Job Evers
640db41555
only need lbrycrdd_path when using lbrycrdd
2016-10-17 19:58:04 -05:00
Jack
d860c2a2b4
make publish fail when given an invalid file
...
otherwise a less obvious error is returned in
lbrynet_daemon.Publisher.Publisher._show_publish_error
2016-10-17 14:25:36 -04:00
Jack
733bb3bccf
Bump version: 0.6.6 → 0.6.7
2016-10-16 02:55:19 -04:00
Jack
830f5ff6e3
Bump version: 0.6.5 → 0.6.6
2016-10-15 23:35:17 -04:00
Jack
ea1f260ed9
Bump version: 0.6.4 → 0.6.5
2016-10-14 23:06:03 -04:00
Jack
a8a581d35c
Merge branch 'master' into auth-jsonrpc
...
# Conflicts:
# lbrynet/conf.py
# lbrynet/core/Error.py
# lbrynet/lbrynet_daemon/Daemon.py
# lbrynet/lbrynet_daemon/DaemonControl.py
# lbrynet/lbrynet_daemon/ExchangeRateManager.py
2016-10-14 18:25:37 -04:00
Job Evers-Meltzer
5f129faf32
Bump version: 0.6.3 → 0.6.4
2016-10-14 16:06:12 -05:00
Alex Liebowitz
b5a3929bb5
Fix imports
2016-10-14 16:41:02 -04:00
Alex Liebowitz
b67b4b2ef6
Refactor metadata upgrade version range calculation to use generator
2016-10-14 15:58:18 -04:00
Alex Liebowitz
bed3f551fd
Light refactor of Metadata class
2016-10-14 15:58:04 -04:00
Alex Liebowitz
988c9595c7
Add default MIME type during publication
...
Needed because the new JSON schema enforces that the content type is a
string (not null).
2016-10-14 10:37:19 -04:00
Alex Liebowitz
92700808eb
Add back current_version attribute to Metadata
2016-10-14 10:37:19 -04: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
Alex Liebowitz
d8d462f43c
Convert Metadata and Fee validators to use new JSON Schema-based system
2016-10-14 10:37:18 -04:00
Alex Liebowitz
3f22f39ce1
Refactor Validator to new StructuredDict class that uses JSON Schema
...
- Uses JSON schema for all validation (so far no custom code needed)
- Can migrate up and down with any versioning scheme
- Does migrations with regular dictionary operations instead of a DSL
2016-10-14 10:35:17 -04:00
Job Evers-Meltzer
e647663c34
Fix error when version is None
...
Logs were reporting:
Failure instance: Traceback: <type 'exceptions.AttributeError'>: StrictVersion instance has no attribute 'version'
/Volumes/LBRY/LBRY.app/Contents/Resources/lib/python2.7/lbrynet/lbrynet_daemon/DaemonServer.py:121:requestReceived
twisted/web/server.pyc:183:process
twisted/web/server.pyc:234:render
/Volumes/LBRY/LBRY.app/Contents/Resources/lib/python2.7/lbrynet/lbrynet_daemon/Daemon.py:450:render
--- <exception caught here> ---
twisted/internet/defer.pyc:150:maybeDeferred
/Volumes/LBRY/LBRY.app/Contents/Resources/lib/python2.7/lbrynet/lbrynet_daemon/Daemon.py:1561:jsonrpc_version
/Volumes/LBRY/LBRY.app/Contents/Resources/lib/python2.7/lbrynet/core/utils.py:39:version_is_greater_than
distutils/version.pyc:140:__cmp__
2016-10-14 10:35:17 -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
Job Evers‐Meltzer
897c113db1
Merge pull request #180 from lbryio/configure-lbryum
...
Configure lbryum
2016-10-11 16:46:39 -05:00
Jack
50e5a59420
remove unused imports
2016-10-07 17:29:20 -04:00
Jack
5a0b5dc680
Merge branch 'master' into auth-jsonrpc
...
# Conflicts:
# lbrynet/lbrynet_daemon/Daemon.py
# lbrynet/lbrynet_daemon/DaemonControl.py
2016-10-07 17:11:43 -04:00
Jack
be1803d558
remove unused imports
2016-10-07 14:52:54 -04:00
Jack
84bbf2f76e
move set_no_cache into own function
2016-10-07 14:28:38 -04:00
Jack
fe7ea7c679
refactor resources and file streamer into their own files, use NoCacheStaticFile instead of static.File
2016-10-07 14:01:59 -04:00
Jack
782e197e66
Merge branch 'master' into blob-prices
2016-10-05 23:25:39 -04:00
Jack
88be425ab2
fix pylint errors
2016-10-05 23:24:22 -04:00
Jack
1ee9b3c7a6
add reply_to_offer to livepaymentratemanager
2016-10-05 23:03:16 -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
a71e87a398
throw error when invalid wallet is specified
2016-10-04 13:59:04 -05:00
Job Evers-Meltzer
0ecfad0ae9
add configuration to LBRYumWallet
2016-10-04 13:58:44 -05:00
Job Evers-Meltzer
e909ae566b
add TODO
2016-10-03 16:19:58 -05:00
Jack
dc2f0adb3e
update LiveStreamPaymentRateManager
2016-10-03 16:54:46 -04: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
3ad4ad50ec
Bump version: 0.6.2 → 0.6.3
2016-10-02 03:33:12 -04:00
Alex Liebowitz
04ced2e975
Fix import issues in DaemonServer.py
2016-10-02 02:50:17 -04:00
Alex Liebowitz
2253943eba
Shorten time between sending chunks of video stream
2016-10-02 02:03:47 -04:00
Alex Liebowitz
a6fcd5d1f2
More refactoring in LBRYStreamProducer
2016-10-01 23:35:07 -04:00
Alex Liebowitz
f245822814
Refactor of LBRYStreamProducer
2016-10-01 23:35:07 -04:00
Alex Liebowitz
aa3aff91d0
Refactor LBRYStreamProducer and add Content-Length header
...
Also fixes producer pause/unpause behavior and adds slight delay
between sending chunks
2016-10-01 23:33:51 -04:00
Alex Liebowitz
5537dd878f
Add basic support for streaming partially downloaded files
2016-10-01 23:29:08 -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
640e000b9f
fix timeouts in get_availability
2016-09-30 13:35:13 -04:00
Jack
8d961d6ce6
add get_availability
2016-09-30 13:28:01 -04:00
Jack
0a612ba36c
Merge branch 'master' into blob-prices
2016-09-30 12:36:10 -04:00
Jack
eb7cc8463b
Bump version: 0.6.1 → 0.6.2
2016-09-30 11:26:55 -04:00
Jack
6e5ea935f6
Bump version: 0.6.0 → 0.6.1
2016-09-30 11:18:07 -04:00
Jack
f79b651b05
Bump version: 0.5.0 → 0.6.0
2016-09-30 02:16:06 -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
Jack
ff7829a078
Merge branch 'master' into rename-LBRY
2016-09-29 12:47:22 -04:00
Job Evers-Meltzer
d05bbea131
refactor BlobRequestHandler
2016-09-28 17:00:34 -07:00
Job Evers-Meltzer
6a72b3683e
send Download Started event
2016-09-28 09:07:25 -07:00
Job Evers-Meltzer
b201fc331c
simplify callback when downloading
2016-09-28 09:06:51 -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
eb783b6b6f
rename File to EncryptedFile
2016-09-27 11:26:01 -07:00
Job Evers-Meltzer
d1b06c3688
more fixes
2016-09-27 11:18:52 -07:00
Job Evers-Meltzer
d16b3429cd
more work to fix tests
2016-09-27 11:18:52 -07:00
Job Evers-Meltzer
a099e2db6a
fix errors
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
Job Evers-Meltzer
550fd185a3
rename LBRYFile to EncryptedFile
2016-09-27 11:18:16 -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
5ea7c4f016
fix typo in string format
2016-09-25 17:17:48 -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
c49b0fdd49
Bump version: 0.4.9 → 0.5.0
2016-09-24 01:50:14 -04: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