Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange token balance drain without much downloads active. #5310

Closed
vi opened this issue May 5, 2020 · 9 comments
Closed

Strange token balance drain without much downloads active. #5310

vi opened this issue May 5, 2020 · 9 comments

Comments

@vi
Copy link
Contributor

vi commented May 5, 2020

Tribler version/branch+revision:

ea923d8 release-7.5

Operating system and version:

Linux, non-Dockerized

Steps to reproduce the behavior:
  1. Run a Tribler profile with long history of usage though various version (including recent rollback to v7.3.2). Most of token balance just remains from what was earned about two-three years ago.
  2. Update to release-7.5 branch from Git.
  3. Start, wait, ensure Token Balance is OK.
  4. Observe Token Balance slowly growing (maybe due to exit node being on) on the plots.
  5. Not have any serious downloads or uploads active (just one mostly idling, very slow bootstrap.block download and the rest seeding that are rarely actually active). Channels are updating, but they are not that big.
Expected behavior:

It keeps on going like this further.

Actual behavior:

Strange drastic Token balance drain, maybe even faster than network connection allows uploading or downloading.

screenshot

@vi
Copy link
Contributor Author

vi commented May 5, 2020

Looks like it has petered out:

screenshot

Has the balance stabilized on just today's transit traffic?


No, it has continued the fall and hit the negatives:

screenshot

Let's leave it overnight and see what happens.


screenshot

@devos50
Copy link
Contributor

devos50 commented May 5, 2020

When leaving the Tribler instance without any (active) downloads, it could relay data. However, an increase in 'bytes given' should be accompanied with a (higher) increase in 'bytes taken'.

Now, we recently addressed a Python 3-related bug where payouts between Tribler 7.4 and 7.5 instances were not working correctly, due to a database error. I think that this behaviour is the result of an interaction between a 7.5 instance (you) and 7.4 instance, which is still not properly functioning. Particularly, it seems that the downloader (running 7.4) is not initiating the final payout. We should look into this.

The last screenshot indicates a glitch in the token balance graph, which is probably related to #5255. So far, we have only seen this weird behaviour on Linux.

@devos50 devos50 added this to the V7.5: core refactoring milestone May 5, 2020
@vi
Copy link
Contributor Author

vi commented May 5, 2020

However, an increase in 'bytes given' should be accompanied with a (higher) increase in 'bytes taken'.

Do you mean the reverse?

The last screenshot indicates a glitch in the token balance graph, which is probably related to #5255. So far, we have only seen this weird behaviour on Linux.

Display was locked and Tribler window minimized at that time. Maybe that's why there are no points on the graph?

seems that the downloader (running 7.4) is not initiating the final payout.

Should it lead to the drain much faster than current total network load or just lead to non-increase of the balance where it should?

@vi
Copy link
Contributor Author

vi commented May 6, 2020

In the end, "Taken from community plot" reached some limit (maybe it was total amount of very old tokens) and stopped growing:

screenshot

@synctext
Copy link
Member

synctext commented Jun 9, 2020

Thx @vi for helping us extensively. This token balance issue has been haunting us for a while.

For next release we will aim to fix this, do an upgrade, and add additional debug panel info. We will provide more details on your community standing and split the various token income source and spending. For instance, relaying income, relaying spending, exit node spending, and end-to-end seeding income.

FYI. Our historical designs and prototypes from April 2007 (pre-Bitcoin:-)
tribler_e_4 0 0
Tribler_4 1__video_credit_and_detailed_statistics
4_0_0_ profile

@lucy2812
Copy link

Since I'm experiencing token drain while not downloading anything, I presume I'm taking away value from fellow Triblers, and it makes me feel bad.

Since I'm not adding value (relaying or being available) to Triblers, should I exit Tribler and not use it?

@devos50
Copy link
Contributor

devos50 commented Nov 21, 2021

@lucy2812 thank you for your report. We have listed potential reasons for a token balance decrease in our FAQ. When I'm using Tribler, I noticed that my balance tends to go up and down, and I'm currently slightly in the negative.

Since I'm not adding value (relaying or being available) to Triblers, should I exit Tribler and not use it?

We appreciate it that you are using Tribler and there is certainly no need to stop using the software :). Keeping Tribler up and running should eventually increase your balance since you have the possibility to help other users (anonymously) download their content. We are also considering different ways to present ones overall performance in the user interface (e.g., "you are in the top X%").

Please let us know if you have any other question!

@drew2a
Copy link
Contributor

drew2a commented Dec 12, 2023

@egbertbouman, could this issue be closed as we don't use the balance anymore?

@egbertbouman
Copy link
Member

It's probably OK to close it, assuming the problem is in the graph itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

6 participants