Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Calculate potential values at startup #2886

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nielscastien
Copy link
Contributor

This PR will extend the previous one where the locked storage collateral is re-calculated at start-up.
On my host this gives more sane (i.e. smaller) values that are more in line with the revenues. The impact will be proportional with the age of the host.

start-up loop.

Together with ContractCount and LockedStorageCollateral these are the
metrics of h.FinancialMetrics that tend to increase too much over time because of a bug.
This change will reset all metrics to the correct value at start-up.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant