Commit graph

206 commits

Author SHA1 Message Date
Job Evers-Meltzer
fccdf32c9f Remove all unused imports; add check to pylint 2016-08-08 15:42:35 -05:00
Jack
c474411e1b delete bad records that got into name_metadata 2016-08-08 16:35:55 -04:00
Job Evers-Meltzer
9a9b540701 Move some ServerRequestHandling logging to debug level 2016-08-08 15:04:50 -05:00
Job Evers-Meltzer
b8ddbb9a26 Add loggly logger
It configured twice, once right at startup without the lbry id and then
after the settings database is available it gets reconfigured with the
lbry id and a session id.
2016-08-08 15:02:36 -05:00
Job Evers-Meltzer
bc3c2b96ed disable noisy loggers 2016-08-08 14:59:30 -05:00
Job Evers-Meltzer
622dc87d84 Remove log handlers with the same name
Also renames functions to follow underscore convention
2016-08-08 14:57:49 -05:00
Jack
6fe878bdb9 make load_from_hex a class method 2016-08-08 03:18:32 -04:00
Jack
72acfa1e0c add support_claim 2016-08-08 02:32:56 -04:00
Jack
f32250f431 whoops 2016-08-08 01:54:41 -04:00
Jack
1523cad044 refactor get_claim_info 2016-08-08 01:46:19 -04:00
Jack
f69753f6a0 add get_claims_for_name 2016-08-08 01:42:37 -04:00
Jack
3b98508986 clean up claim_name function 2016-08-07 16:13:47 -04:00
Jack
36ebfc42d9 update from master 2016-08-06 21:44:14 -04:00
Job Evers-Meltzer
db8daf20b7 quiet noisy log statement 2016-08-05 05:50:24 -05:00
Jack
28c4e38272 make line neater 2016-08-04 23:27:25 -04:00
Jack
b29377dc2b keep claim id history 2016-08-04 23:27:10 -04:00
Jack
b0e14fae43 update over existing claim in publish() 2016-08-04 23:08:54 -04:00
Jack
dfa68f126b get update_name in lbrycrdwallet working 2016-08-04 20:43:39 -04:00
Jack
4570f68727 add claim_id to lbry_file and to get_claim_info 2016-08-04 18:44:12 -04:00
Jack
4705acba55 use lbryum updateclaim 2016-08-04 02:22:10 -04:00
Jack
64e9ce2bfa comments about the upnp redirects 2016-08-03 17:44:41 -04:00
Jack
3af8b7bd0c use upnp redirects if they're already set 2016-08-03 01:27:40 -04:00
Jack
b83dce2cb3 no tricky characters 2016-07-28 18:48:29 -04:00
Jack
de4ddd578f improve readability of metadata and fee requirements 2016-07-28 15:24:20 -04:00
Jack
5dd68a7ed4 add get_claim_info, clean up _get_stream_info_from_value 2016-07-28 14:55:17 -04:00
Job Evers-Meltzer
295e427abe bug fix: check if fee is in metadata before loading 2016-07-28 12:04:25 -05:00
Job Evers
15d276b0bc fix case where to and from currencies are the same 2016-07-28 11:43:20 -05:00
Jack
415495fc16 LBRYExchangeRateManager 2016-07-28 05:30:13 -04:00
Jack
12b2bbfa26 make sure claimed ver is true 2016-07-28 02:36:07 -04:00
Jack
4ade80c8a9 clean up metadata and fee 2016-07-28 02:19:45 -04:00
Jack
9674381fc2 Merge remote-tracking branch 'origin/metadata-version-avec-tests' into metadata-version 2016-07-27 20:18:00 -04:00
Jack
7f5560de6d comment spacing and removing setLevel 2016-07-27 15:02:19 -04:00
Job Evers-Meltzer
0f602e0e62 allow bittrex fee to be changed 2016-07-27 11:59:57 -05:00
Jack
9572336e96 Merge branch 'master' into metadata-version
# Conflicts:
#	lbrynet/core/utils.py
#	lbrynet/lbrynet_daemon/LBRYDaemon.py
2016-07-27 03:54:10 -04:00
Jack
4895cde474 fix conflicts 2016-07-27 03:48:32 -04:00
Jack Robison
457c1c6ae6 Merge pull request #101 from lbryio/version-cmp
Properly Compare Version Strings
2016-07-27 03:43:13 -04:00
Jack Robison
c1ff127101 Merge pull request #102 from lbryio/log-configure
Fix: Log configuration should not happen when a module is imported
2016-07-27 03:42:51 -04:00
Jack
5e815a5832 merge master 2016-07-27 03:22:03 -04:00
Jack
fe39901885 update claim when publishing to an already claimed name
-also save name_metadata for each unique claim rather than for each name
2016-07-26 20:52:05 -04:00
Jack
0811ebb52d fix key payment problems 2016-07-26 17:20:51 -04:00
Job Evers-Meltzer
f8dd3d05dc misc bug fixes and code cleanup 2016-07-26 12:24:25 -05:00
Job Evers-Meltzer
93993e62d6 Fix: Log configuration should not happen when a module is imported
Instead, move the responsibility to the main program. Also,
each module had the same, redundant setup.
2016-07-26 12:01:03 -05:00
Jack
9e8827f015 resolve name bug 2016-07-25 23:46:18 -04:00
Jack
ca45f461ae spelling 2016-07-25 23:42:03 -04:00
Jack
7e5af11c2d fix key fee payment problem 2016-07-25 23:41:26 -04:00
Jack
102436274f USD denominated max_key_fee in settings 2016-07-25 22:46:04 -04:00
Jack
a5374cb876 fix currencies and LBRYFeeFormat 2016-07-25 22:17:31 -04:00
Jack
a53e911a0c stop looping call when stop() is called 2016-07-25 21:48:39 -04:00
Jack
c4a78a149b LBRYFee things
-move exchange rate updates to wallet, do them every half hour
-add convention checker for fees
-pay BTC or USD denominated key fees in converted LBC amount
2016-07-25 21:45:42 -04:00
Job Evers-Meltzer
3814912adf Move to core.utils and expand to check lbryum too 2016-07-25 16:09:13 -05:00
Jack
2e2d309d38 BTC/USD denominated fees, metadata revisions 2016-07-25 01:40:26 -04:00
Jack
6bfb33adb2 fix version comparison 2016-07-24 22:03:32 -04:00
Jack
fbef187400 Merge branch 'master' into metadata-version
# Conflicts:
#	lbrynet/conf.py
#	lbrynet/lbrynet_daemon/LBRYDaemon.py
2016-07-21 16:45:41 -04:00
Jack
25d1b8b9e5 move towards better fees and metadata 2016-07-21 16:11:14 -04:00
Jack
4311b218fb fix auto_connect 2016-07-20 22:13:22 -04:00
Jack
89892042dd remove unused line 2016-07-20 20:57:05 -04:00
Jack
c232743963 fix LBRYumWallet._do_send_many 2016-07-20 20:13:44 -04:00
Jack
55f47a2b1b lbryum catchup 2016-07-20 17:32:15 -04:00
Jack
2dcd2b13be add LBRYMetadata.py 2016-07-15 14:09:43 -04:00
Job Evers‐Meltzer
842dd90780 Merge pull request #66 from lbryio/add-tests-blob-handler
add tests for BlobRequestHandler and run on travis
2016-07-14 09:33:06 -05:00
Job Evers-Meltzer
53bf1fe4fd add send_blob tests 2016-07-10 21:56:00 -05:00
Jack
5c05daa007 update import to new file name 2016-07-10 22:21:50 -04:00
Job Evers-Meltzer
976c8b3ce0 add a more useful exception if auth fails on lbrycrd 2016-07-04 15:40:52 -05:00
Jack
808e3ea6e3 rename LBRYcrdWallet.py to LBRYWallet.py and change default wallet to lbrycrd 2016-07-04 04:57:30 -04:00
Jack
1cedd8ee5b update name 2016-07-01 03:16:08 -04:00
Jack
08b612575c update_claim fix and clean up publish keys
-replace ‘value’ key with ‘metadata’

-update claim metadata in db when an update is published
2016-06-28 23:20:28 -04:00
Jack
b3b804bf2d add update_name 2016-06-28 14:28:59 -04:00
Jack
7cc3e9d5ef publish updates
-adds a base set of metadata fields required for results to be rendered
in conf.py, including language and content-type

-dont support old style claims on the new blockchain
2016-06-27 17:07:59 -04:00
Jack
f89486f5fe port and import name 2016-06-24 13:12:27 -04:00
Jack
3f929aee3c merge travis fixes 2016-06-04 14:28:32 -04:00
Jack
2026024c8a updates from development 2016-05-30 15:49:25 -04:00
Jack
42a3006f6e add claim txid and uri to lbry_file 2016-05-10 19:03:18 -04:00
Jack
9341ccb643 Merge branch 'master' into transaction-explorer
fix conflicts in LBRYDaemonControl.py
2016-04-17 23:28:00 -04:00
Jack
4385b90cca add get transaction and history functions to daemon 2016-04-17 23:23:20 -04:00
Jack
5f49827bd2 fix lagging indicator and improve diagnostic
-make is_lagging more meaningful - it is set to true after 90 seconds
with no progress, this is to stop slow but steady catchups from
triggering it

-prevent situation where repeated shutdowns before wallet catchup
results in never receiving first run credits

-fix settings to write new defaults that aren’t already in the
configuration file

-report log of startup sequence if upload_log set to true

-redirect /view?name=lbry to the main UI page. This is to make the ui
accessible from a lbry:// link on linux
2016-04-17 19:54:04 -04:00
Jack
47d897b48d is_lagging indicator and internet connection check
-adds is_lagging indicator as a key from daemon_status, which is set to
True during a phase of the startup sequence, presently only during
loading_wallet if catching up with the blockchain takes longer than a
minute.

-checks if connected to internet before trying to start
2016-04-14 00:29:40 -04:00
Jack
59002413f8 organize daemon init, move more into daemon_settings.json
-also add wallet.catchup_progress to get a rough percentage of how
caught up the daemon is, this is accessed through daemon_status()
2016-04-12 02:03:57 -04:00
Jack
31fa974379 version function, ui version tracking, blocks behind blockchain during startup, cleaner set_vars
-adds version() function, which can be called after the daemon is
running and returns lbrynet, lbryum, and lbry ui version information.

-daemon_status now returns how far behind its behind the blockchain
when in the loading_wallet phase of startup

-cleans up set_vars by moving to init
2016-04-11 22:28:46 -04:00
Jack
a5362f3170 daemon settings
-set_settings accepts a dict of settings
    -adds upload_log field, defaulting on true, this uploads the lbry
log file to lbry.io to help figure out if and where things aren’t
working
    -default_download_directory is the key of the path where files are
saved

-gets publish working with sources

-adds check_first_run function, returns True/False

-previously only is_running would work during startup, check_first_run,
 get_time_behind_blockchain, and stop have been added

-requires six 1.9, 1.10.0 produced errors
2016-04-07 03:12:09 -04:00
Jimmy Kiselak
f464b3ae7c when decoding lbryum transactions, return values as Decimal 2016-04-04 22:20:15 -04:00
Jack
9a3187e36c merge updates 2016-03-23 22:29:48 -04:00
Jack
c714a3f91c merge updates 2016-03-23 22:27:48 -04:00
Jimmy Kiselak
e85683e40f show more informative messages when blockchain is catching up 2016-03-22 22:42:45 -04:00
Jimmy Kiselak
246647641a remove some log statements that are useless, instead log whenever balance changes 2016-03-19 22:39:47 -04:00
Jimmy Kiselak
a68d891770 enable checking first run status multiple times 2016-03-19 21:24:44 -04:00
Jimmy Kiselak
4449bf3c75 change manage timer back to 60 seconds 2016-03-17 21:55:06 -04:00
Jimmy Kiselak
0200ed1341 refresh wallet balance every 3 seconds instead of 60 2016-03-17 20:19:13 -04:00
Jimmy Kiselak
dff0fcb1fd ensure the lbryum wallet is caught up before giving the prompt 2016-03-12 14:58:58 -05:00
Jimmy Kiselak
14ab2b52e9 create fee field in metadata 2016-03-12 14:42:57 -05:00
Jimmy Kiselak
e91f34f09b change metadata structure to use sources key 2016-03-12 14:25:46 -05:00
Jimmy Kiselak
45f9a10bfb hide exceptions that show up in the dht and due to bad metadata in the blockchain 2016-03-12 14:08:15 -05:00
Jack Robison
30ac075555 Merge pull request #14 from lbryio/development
merge updates
2016-02-26 10:29:38 -05:00
Jimmy Kiselak
9991f79326 add support for claiming names, abandoning names, and listing claimed names to the LBRYumWallet 2016-02-26 01:45:52 -05:00
Jack
7cf3f8c7cd fix typo 2016-02-25 17:18:18 -05:00
Jimmy Kiselak
671e6da104 show when the wallet is starting/started 2016-02-22 23:31:07 -05:00
Jimmy Kiselak
b419b8f642 enable getting the whole claim trie 2016-02-22 14:24:49 -05:00
Jimmy Kiselak
c32f8d0998 implement getblock 2016-02-22 12:18:28 -05:00
Jimmy Kiselak
bdb0ad4836 enable lbryum, the lightweight lbrycrd client 2016-02-19 00:44:08 -05:00
Jimmy Kiselak
4451978af6 make wallet method public and move common functions back into parent wallet class 2016-02-17 11:47:39 -05:00
Jack
d4193c55ae update fetcher 2016-02-17 10:45:33 -05:00