Skip to content

Releases: lbryio/lbry-sdk

v0.67.0

31 Mar 00:14
Compare
Choose a tag to compare

[0.67.0] - 2020-03-30

API

  • [bug] fix estimated timestamp to return integer instead of float (#2893) by eukreign
  • [improvement] improve speed of status (#2890) by jackrobison
  • [new feature] added txo_spend command to support liquidating large number of txos (eg. tips) by batching them across several transactions (#2887) by eukreign

Blobs/files

  • [improvement] add m4a content type (#2888) by tzarebczan

Network

  • [bug] fix for startup issues when connecting to wallet servers (#2896) by eukreign

Wallet

  • [improvement] repair headers tip on open and let new headers come in during background fetching (#2885) by shyba

v0.66.0

27 Mar 00:30
Compare
Choose a tag to compare

[0.66.0] - 2020-03-26

API

  • [new feature] added txo_plot command to allow plotting txo sums over time (#2884) by eukreign
  • [new feature] added wallet_syncing to status, which is set to true when processing transaction updates (#2881) by shyba

Files

  • [new feature] transcoding support for MKV files (#2880) by BrannonKing

Wallet

  • [new feature] added wallet_syncing to status, which is set to true when processing transaction updates (#2881) by shyba
  • [improvement] more efficient syncing of wallet transactions (#2852) by jackrobison

v0.65.0

23 Mar 19:32
Compare
Choose a tag to compare

[0.65.0] - 2020-03-23

This release includes changes to the client side database schema which will trigger a reset of your blockchain.db and perform full sync on startup.

In this release the txo_list command has reached its full potential in being able to filter specific transaction outputs based on who made them and who controls them which allows for differentiating between "supports" and "tips" and many other use cases. This release also introduces a new txo_sum command which takes almost all of the same arguments as txo_list but produces a sum of the outputs that txo_list would have returned in full, useful for making reports.

Below are some examples and use cases of how to use txo_list.

Get all of the tips you've received from others on claim "xyz" (assuming "xyz" is your claim):
lbrynet txo list --is_my_output --is_not_my_input --type="support" --claim_id="xyz" --unspent

Sum of all of the tips you've sent to claim "xyz" (assuming "xyz" is not your claim):
lbrynet txo sum --is_my_input --is_not_my_output --type="support" --claim_id="xyz"

Note: --unspent is missing above, this is because the local database (at least in desktop app) doesn't know the status of outputs after you've sent them to someone else, therefore filtering by unspent is meaningless here (anytime you pass --is_not_my_output).

Sum of all of the non-tip supports you've sent to claim "xyz" (assuming "xyz" is not your claim):
lbrynet txo sum --is_my_input --is_my_output --type="support" --claim_id="xyz" --unspent

Anything someone just sent me:
lbrynet txo list --is_not_my_input --unspent

Emulate channel list:
lbrynet txo list --type=channel --unspent

Emulate support list:
lbrynet txo list --type=support --unspent

Another flag added is --no_totals which is useful if you expect a very large result set, want a performant pagination and don't need to know total number of pages. (or, a more clever strategy, is to get total once and cache the size for some period of time and then do subsequent calls with --no_totals as user paginates)

Also, --order_by supports a value of none which is useful in certain situations where you don't care about the order and want maximum performance (or, if you just want to see performance impact actually is of sorting the result).

API

  • [new feature] added --include_received_tips to claim_list and txo_list commands (#2872) by eukreign
  • [new feature] added new flags to resolve (and a few to claim_search) commands: --include_purchase_receipt, --include_is_my_output, --include_sent_supports, --include_sent_tips and --include_received_tips (#2870) by eukreign
  • [new feature] txo_list adds many new ownership filters such as --is_my_input, --is_my_output, etc and some metadata filters such as --channel_id, --reposted_claim_id, etc and a new command txo_sum which takes the same arguments as txo_list and produces sum of outputs (#2862) by eukreign
  • [new feature] Adds tracemalloc api for memory troubleshooting (#2854) by shyba

Blobs/files

  • [bug] fixed issue with shell parsing on Windows (#2866) by BrannonKing
  • [refactor] transcode in stream_update, re-enable transcode on Windows (#2861) by BrannonKing

Database

  • [new feature] Use multiple processes for querying the db for api calls (#2823) by jackrobison

Discovery

  • [new feature] Trending algorithm with time delay and variable decay rate (#2857) by eggplantbren

Files

  • [improvement] ffmpeg transcoding - default to 1080P for any source higher than 1080p (#2875) by tzarebczan

Tests

  • [improvement] upgrade lbrycrd to v0.17.4.4 (#2865) by eukreign

Wallet

  • [bug] fix to prevent transaction cache from leaking some information about outputs between unrelated wallets (#2871) by eukreign
  • [improvement] fetch headers on demand (#2863) by shyba

Wallet server

  • [new feature] Add blockchain.transaction.info and blockchain.transaction.get_batch to the wallet server for more efficient transaction fetching (#2851) by jackrobison

v0.64.0

09 Mar 17:52
Compare
Choose a tag to compare

[0.64.0] - 2020-03-09

API

  • [new feature] added new txo_list command with filtering for --claim_id, claim --name and --is_received/--is_not_received, also commands claim_list/stream_list/channel_list/support_list are based on txo_list and thus support most of the new filters (#2848) by eukreign
  • [new feature] added is_spent attribute to transaction outputs (#2846) by eukreign

v0.63.0

06 Mar 21:25
Compare
Choose a tag to compare

[0.63.0] - 2020-03-06

Asyncio

  • [bug] fix DHT setup and disable ffmpeg on windows temporarily (#2845) by jackrobison

Files

  • [bug] use os.path.join() instead of string addition when searching for file analysis binaries (#2839) by eukreign
  • [improvement] don't validate and repair files that aren't videos; add maximum video bit rate setting (#2793) by BrannonKing

Packaging

  • [bug] revert LD_LIBRARY_PATH before calling ffmpeg (#2842) by BrannonKing

Wallet server

  • [new feature] status command returns features available of currently connected wallet server, including trending algorithm (#2840) by eukreign

v0.62.0

02 Mar 01:49
Compare
Choose a tag to compare

[0.62.0] - 2020-03-01

API

  • [improvement] when using --resolve with local claim *_list commands, update resolved result with local metadata (such as is_mine) (#2834) by eukreign

Commenting

  • [improvement] Require a channel_name / channel_id parameter for comment_create instead both being optional (#2816) by osilkin98

Wallet server

  • [improvement] Add LRU caches for blocks and block hashes in the wallet server (#2836) by jackrobison
  • [improvement] Improve wallet server performance with separate thread pools for leveldb, the block processor, and mempool (#2835) by jackrobison
  • [improvement] update claim_type_* db indexes to be more performant (#2831) by eukreign

v0.61.0

24 Feb 18:02
Compare
Choose a tag to compare

[0.61.0] - 2020-02-24

Discovery

  • [improvement] reposts inherit the tags of the original claim, filtered/blocked claims cause their reposts to also be filtered/blocked (#2827) by eukreign
  • [bug] claim_search --not_channel_ids excludes the channel itself and not just claims in the channel (#2826) by eukreign

Tests

  • [improvement] update lbrycrd in tests to v0.17.4.3 (#2828) by eukreign

v0.60.1

21 Feb 21:33
Compare
Choose a tag to compare

[0.60.1] - 2020-02-21

API

  • [new feature] add ffmpeg_find api to check ffmpeg installation status, don't recheck for ffmpeg in status (#2821) by jackrobison
  • [improvement] apply share_usage_data as it's set, without restarting (#2815) by shyba

Config

  • [improvement] max wallet server payment fee defaults to 0 and component doesnt start when its not a positive value (#2824) by shyba

Files

  • [new feature] Add is_fully_reflected to file_list response (#2772) by jackrobison

Wallet

  • [refactor] use stream controller and documented errors for wallet server payments (#2822) by shyba

Wallet server

  • [bug] disconnect from client sending message larger than MAX_RECEIVE (#2820) by jackrobison
  • [new feature] add MAX_RECEIVE setting to wallet server (#2819) by jackrobison
  • [new feature] wallet servers requesting a daily fee will automatically get paid by client (#2707) by shyba

v0.60.0

17 Feb 23:11
Compare
Choose a tag to compare

[0.60.0] - 2020-02-17

Config

  • [improvement] change default privacy setting (#2806) by jessopb

Wallet server

  • [improvement] wallet server indexes (#2811) by eukreign
  • [improvement] removed default order_by for claim_search (#2810) by eukreign

v0.59.2

13 Feb 22:39
Compare
Choose a tag to compare

[0.59.2] - 2020-02-13

Packaging

  • [improvement] linux build of LBRY SDK for Ubuntu 16.04 Xenial (#2796) by eukreign

Wallet

  • [bug] fix claim apis failing with --resolve if no claims are present (#2803) by jackrobison

Wallet server

  • [bug] Fix race condition setting/clearing the claim_search and resolve cache (#2800) by jackrobison
  • [improvement] Add sqlite index for reposted claims (#2798) by jackrobison
  • [bug] SQL generation fix to handle IN operation for one value lists (#2790) by eukreign