Transaction List - categorize and fix amount for abandon transactions #608

Closed
opened 2017-09-23 00:01:32 +02:00 by tzarebczan · 10 comments
tzarebczan commented 2017-09-23 00:01:32 +02:00 (Migrated from github.com)

The Issue

Currently, a claim or channel abandoning transaction shows as a "Spend" and only displays the fee (twice). It should be possible to determine when a transaction is an abandon and show the reclaimed LBC (positive) as the Amount. The claim name should also be shown (even though it's abandoned - it will go to a blank claim)

Opened https://github.com/lbryio/lbry/issues/946 on the lbry side - this is where the fix/enhancement needs to occur. After we have the amount/data correctly, categorize on the app side.

Expected behaviour

Abandon tx should be categorized as such and show amount of deposit returned

Actual behaviour

Abandon tx treated as a spend and shows fee as amount - can't tell how many credits came back to the wallet.

System Configuration

  • LBRY Daemon version:
  • LBRY App version:
  • LBRY Installation ID:
  • Operating system:

Anything Else

Screenshots

<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. - App releases: https://github.com/lbryio/lbry-app/releases - Standalone daemon: https://github.com/lbryio/lbry/releases We are also available on Slack at https://slack.lbry.io --> ## The Issue Currently, a claim or channel abandoning transaction shows as a "Spend" and only displays the fee (twice). It should be possible to determine when a transaction is an abandon and show the reclaimed LBC (positive) as the Amount. The claim name should also be shown (even though it's abandoned - it will go to a blank claim) Opened https://github.com/lbryio/lbry/issues/946 on the lbry side - this is where the fix/enhancement needs to occur. After we have the amount/data correctly, categorize on the app side. ### Expected behaviour Abandon tx should be categorized as such and show amount of deposit returned ### Actual behaviour Abandon tx treated as a spend and shows fee as amount - can't tell how many credits came back to the wallet. ## System Configuration <!-- For the app, this info is in the About section at the bottom of the Help page. You can include a screenshot instead of typing it out --> <!-- For the daemon, run: curl 'http://localhost:5279' --data '{"method":"version"}' and include the full output --> - LBRY Daemon version: - LBRY App version: - LBRY Installation ID: - Operating system: ## Anything Else <!-- Include anything else that does not fit into the above sections --> ## Screenshots <!-- If a screenshot would help explain the bug, please include one or two here -->
kauffj commented 2017-09-25 18:23:33 +02:00 (Migrated from github.com)

@hackrush01 good one for you?

@hackrush01 good one for you?
tzarebczan commented 2017-10-11 18:54:16 +02:00 (Migrated from github.com)

abandon
https://explorer.lbry.io/tx/fd8db31c0087a48823dd13bc0b933aa8ee049ef61064af591a139a21029819c2

transaction_list

 {
    "claim_info": [],
    "confirmations": 1,
    "date": "2017-10-11 12:53",
    "fee": 9.6e-05,
    "support_info": [],
    "timestamp": 1507740834,
    "txid": "fd8db31c0087a48823dd13bc0b933aa8ee049ef61064af591a139a21029819c2",
    "update_info": [],
    "value": -9.6e-05
  }
![abandon](https://user-images.githubusercontent.com/8120721/31454386-4953468e-ae83-11e7-9b47-3914f49b4183.JPG) https://explorer.lbry.io/tx/fd8db31c0087a48823dd13bc0b933aa8ee049ef61064af591a139a21029819c2 transaction_list ``` { "claim_info": [], "confirmations": 1, "date": "2017-10-11 12:53", "fee": 9.6e-05, "support_info": [], "timestamp": 1507740834, "txid": "fd8db31c0087a48823dd13bc0b933aa8ee049ef61064af591a139a21029819c2", "update_info": [], "value": -9.6e-05 } ```
tzarebczan commented 2017-10-11 22:05:08 +02:00 (Migrated from github.com)

Issue moved to lbryio/lbry #946 for daemon related changes.

Issue moved to [lbryio/lbry #946](https://github.com/lbryio/lbry/issues/946) for daemon related changes.
kauffj commented 2017-10-31 14:37:13 +01:00 (Migrated from github.com)
Blocked by https://github.com/lbryio/lbryum/pull/159
kauffj commented 2017-11-07 15:50:25 +01:00 (Migrated from github.com)

App will need to use new balance_delta field provided by LBRY API.

App will need to use new `balance_delta` field provided by LBRY API.
tzarebczan commented 2017-12-05 15:51:12 +01:00 (Migrated from github.com)

@kauffj what terminology should we use to categorize these in the tx list/filter? Abandon? Revoke? Delete?

This applies to tips/supports/claims/channels that are abandoned.

@kauffj what terminology should we use to categorize these in the tx list/filter? Abandon? Revoke? Delete? This applies to tips/supports/claims/channels that are abandoned.
kauffj commented 2017-12-05 20:13:08 +01:00 (Migrated from github.com)

Not delete, since this is mildly erroneous (nothing is ever deleted from the blockchain).

I think abandon (abandoned?) is good.

Not delete, since this is mildly erroneous (nothing is ever deleted from the blockchain). I think abandon (abandoned?) is good.
kauffj commented 2017-12-05 20:13:22 +01:00 (Migrated from github.com)

Revoke is also good though.

Revoke is also good though.
lyoshenka commented 2018-01-26 16:46:01 +01:00 (Migrated from github.com)

This is waiting on daemon 0.19

This is waiting on daemon 0.19
tzarebczan commented 2018-07-13 00:42:42 +02:00 (Migrated from github.com)

Reopening
@daovist - Please add this to the filter dropdown on the transaction history page and ensure that the export feature works with it as well.

Reopening @daovist - Please add this to the filter dropdown on the transaction history page and ensure that the export feature works with it as well.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LBRYCommunity/lbry-desktop#608
No description provided.