Skip to content

fake startheight for old contracts

Luke Champine requested to merge old-contracts into master

Follow up to #1545. This is important for the v1.1.0 transition because many people won't form contracts under v1.1.0 for a while. By faking the startheight of old contracts, we ensure that their metrics (upload/download/storage spending) are properly reported. Otherwise they won't be counted because the metrics logic only looks at contracts formed during the current period.

Merge request reports