Post
Topic
Board Service Announcements (Altcoins)
Re: Whattomine - profitability website with basic json.
by
fredeq
on 15/06/2018, 23:07:45 UTC
Will continue with straks after I will process the last batch of requests and emails.
https://api.straks.info/v2/charts/difficulty?days=1
All blocks for the last 24h, easy Smiley

Honestly I am thinking that weighted average is the explanation here.
Simple average wont represent the data well, cause you can have many blocks stacked in short period with low diff.

In other words taking all blocks from last 24h and calculating simple avg is not good or wanted.
It matters how long each difficulty period was mined for.