This repository has been archived by the owner. It is now read-only.

Host financials #2144

Open
S-anasol opened this Issue Jul 15, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@S-anasol
Contributor

S-anasol commented Jul 15, 2017

image

Almost all host stats incorrect.

Contract count fixed in latest RC, but other numbers incorrect too.

Used direct obligations output to calculate my stats.
master...S-anasol:obligationsapi

So wallet show incorrectly(?)

  • Locked Collateral
  • Risked Collateral
  • Potential storage revenue
  • Potential upload revenue
  • Transaction fees

Correctly (maybe just luck :D)

  • Potential download revenue
@S-anasol

This comment has been minimized.

Show comment
Hide comment
@S-anasol

S-anasol Jul 15, 2017

Contributor

maybe better to re-calculate it with each start like contracts?
https://github.com/NebulousLabs/Sia/blob/master/modules/host/persist.go#L177

Contributor

S-anasol commented Jul 15, 2017

maybe better to re-calculate it with each start like contracts?
https://github.com/NebulousLabs/Sia/blob/master/modules/host/persist.go#L177

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