# Functions
CalculateNodeStatisticsForInterval calculates stats for specific node for interval, specified with arguments intervalStart and intervalEnd, as models.NodeStatsDetails where node is specified with argument nodeId.
CalculateNodeStatisticsFromLastPayout calculates stats for specific node for interval, that starts from last recorded payout until now, as models.NodeStatsDetails where node is specified with argument nodeId.
CalculateStatisticsForInterval calculates stats for all nodes for interval, specified with arguments intervalStart and intervalEnd, as map[string]models.NodeStatsDetails where keys represent node payout address.
CalculateStatisticsFromLastPayout calculates stats for all nodes for interval, that starts from last recorded payout until now, as map[string]models.NodeStatsDetails where keys represent node payout address.
No description provided by the author
GetIntervalFromLastPayout returns interval from last recorded payout until now as (intervalStart, intervalEnd, err).
# Constants
PingIntervalInSeconds.