Job Evers-Meltzer
d19afd856b
allow skipping of some time consuming parts of the build
2016-12-16 19:00:25 -06:00
Job Evers-Meltzer
29e59e783a
scripts to test reflector
2016-12-16 15:58:20 -06:00
Job Evers‐Meltzer
107860ea19
Merge pull request #349 from lbryio/force-pyobjc-3.1.1
...
Pin pyobjc to version 3.1.1
2016-12-16 13:37:08 -06:00
Job Evers-Meltzer
a9bfd8d6ae
Pin pyobjc to version 3.1.1
2016-12-16 13:02:52 -06:00
Job Evers‐Meltzer
9ee95d57fc
Merge pull request #342 from lbryio/update-https
...
Update https
2016-12-16 11:28:42 -06:00
Job Evers-Meltzer
4a8a8b8d33
sync setup.py with requirements.txt
2016-12-16 11:04:47 -06:00
Job Evers-Meltzer
c825d88dbf
OSX is having https issues, hopefully this fixes it
...
When I build locally, the resulting app doesn't have https issues. Looking
over the build script output, I notice that its copying
copying /usr/local/opt/openssl/lib/libssl.1.0.0.dylib -> /Users/jobevers/tmp/lbry/packaging/osx/lbry-osx-app/dist/LBRY.app/Contents/Frameworks
such a line isn't present when travis builds. This version of libssl
is installed by homebrew. Fingers crossed.
2016-12-16 10:35:13 -06:00
Job Evers-Meltzer
15ade508aa
add ndg-httpsclient as a requirement
2016-12-16 10:35:13 -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
Umpei Kay Kurokawa
27a09d4a4f
Merge pull request #331 from lbryio/fix_wallet_threading_issue
...
Fix wallet concurrency issue
2016-12-15 10:57:11 -05: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
Jack Robison
ab78b7f5fa
Merge pull request #338 from lbryio/zipsafe-or-bust
...
Fix the Build
2016-12-14 22:04:58 -05:00
Job Evers-Meltzer
083092ad5e
pylint: add check for mixed-indentation
2016-12-14 19:22:00 -06: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
fe4ea9b33a
use assertFailure, move around assertEqual arguments to standard locations
2016-12-14 19:05:24 -06:00
Kay Kurokawa
c278972f26
adding unit tests for Wallet.py
2016-12-14 19:05:23 -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
Job Evers-Meltzer
666a62ae3d
try setting zip_safe=False
2016-12-14 16:28:38 -06:00
Jack
5bf20096b2
fix wallet_balance when checking fee amount
2016-12-12 14:32:33 -05:00
Alex Grintsvayg
52099c7da7
update gitignore
2016-12-08 18:35:57 -05:00
Job Evers‐Meltzer
9619b8dfca
Merge pull request #299 from lbryio/long-lines
...
Wrap Long lines
2016-12-07 11:41:21 -05:00
Job Evers-Meltzer
e8faadc324
fix more long lines
2016-12-07 10:10:46 -05:00
Job Evers-Meltzer
667d5ac622
add emacs tmp files to pylint blacklist
2016-12-07 09:38:38 -05:00
Job Evers-Meltzer
afba045c29
add line-to-long check
2016-12-07 09:38:37 -05:00
Job Evers-Meltzer
b64fa51567
fixup long lines
2016-12-07 09:38:34 -05:00