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
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
Kay Kurokawa
7d5dd1ff51
fix bug in ServerProtocol
2016-12-28 14:34:38 -05: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
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
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
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
781b915717
remove unused check_consistency function
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
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
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
Job Evers-Meltzer
b64fa51567
fixup long lines
2016-12-07 09:38:34 -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
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
Kay Kurokawa
9c50cfdcdb
fix bug in get_my_claim
2016-12-05 17:17:17 -05: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
Kay Kurokawa
200a22c93b
Remove support for lbrycrdd wallet and related code
2016-12-01 16:45:48 -05: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
Job Evers-Meltzer
6f2e2e727e
fix pylint errors
2016-11-28 13:33:34 -06:00
Jack
bfcd84a568
use nOut in addition with txid to identify claims
2016-11-25 16:59:23 -05:00
Job Evers-Meltzer
3d7dee1208
allow for rc in version values
2016-11-19 16:58:40 -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
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
85dee27c92
whitespace
2016-11-14 19:33:36 -06:00
Jack
e1cdbdc91d
fix coveralls error
2016-11-14 14:02:19 -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