Commit graph

1912 commits

Author SHA1 Message Date
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
Job Evers-Meltzer
22ff87b885 fix tests for new query_handler_factory format 2016-12-30 09:07:24 -06:00
Job Evers‐Meltzer
42edf49468 Merge pull request #365 from lbryio/fix-set-settings-typo
Fix typo in set_settings API method
2016-12-30 08:22:14 -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
Umpei Kay Kurokawa
d1ccac1b04 Merge pull request #362 from lbryio/fix_getvalueforname_bug
Fixing get_value_for_name bug
2016-12-28 13:35:48 -05:00
Job Evers‐Meltzer
a289886365 Merge pull request #350 from lbryio/reflector-test
scripts to test reflector
2016-12-28 11:29:14 -06: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
c53e0baca6 Merge pull request #357 from lbryio/no-brew-error
Fix error on brew when package is already installed
2016-12-21 22:43:39 -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
521ad57b61 Merge pull request #353 from lbryio/update-six
allow more recent versions of six
2016-12-21 12:20:11 -08:00
Job Evers-Meltzer
f62456bb68 allow more recent versions of six 2016-12-20 18:06:59 -08: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
Umpei Kay Kurokawa
7404b127bf Merge pull request #354 from lbryio/fix_publisher_bug
Fixing bug in publisher
2016-12-19 19:12:00 -05:00
Kay Kurokawa
10810226ff Fixing bug in publisher 2016-12-19 18:41:35 -05:00
Job Evers-Meltzer
a2497e0854 Fix error on brew when package is already installed 2016-12-19 15:39:06 -08: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 Robison
3da82ce895 Merge pull request #348 from lbryio/remove-old-settings
remove unqlite requirement and old Settings.py
2016-12-19 14:38:31 -05:00
Jack
ba90fb3349 fix os x build 2016-12-19 14:10: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
7bb570c051 Merge pull request #352 from lbryio/fixup-logging
change error log on resolve-name to info
2016-12-16 20:00:37 -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
83e797d7f6 Merge pull request #351 from lbryio/ssl-handshake
Fix SSL handshake issue
2016-12-16 19:25:00 -06:00
Job Evers-Meltzer
6c2b3d9ed6 fix ssl handshake error 2016-12-16 19:13:23 -06:00
Job Evers-Meltzer
c6f4c17597 upgrade to py2app v0.10 2016-12-16 19:13:23 -06:00
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