diff --git a/cmd/web/views/calculate-share-time.qtpl b/cmd/web/views/calculate-share-time.qtpl index ffcf523..1275f23 100644 --- a/cmd/web/views/calculate-share-time.qtpl +++ b/cmd/web/views/calculate-share-time.qtpl @@ -1,3 +1,4 @@ +{% import "git.gammaspectra.live/P2Pool/p2pool-observer/utils" %} {% code type CalculateShareTimePage struct { // inherit from base page, so its' title is used in error page. @@ -7,6 +8,8 @@ type CalculateShareTimePage struct { Magnitude float64 Efforts []CalculateShareTimePageEffortEntry EstimatedRewardPerDay uint64 + EstimatedSharesPerDay float64 + EstimatedBlocksPerDay float64 } %} @@ -16,6 +19,7 @@ type CalculateShareTimePageEffortEntry struct { Probability float64 Between float64 BetweenSolo float64 + ShareProbabilities []float64 } %} @@ -25,6 +29,17 @@ type CalculateShareTimePageEffortEntry struct { {% func (p *CalculateShareTimePage) Content() %} + +