Initial docs on Leaderboard concepts

This commit is contained in:
Tom Bloor 2017-08-17 15:29:00 +01:00
parent 45a8a58b30
commit 8473fc839a

12
doc/Leaderboards.md Normal file
View file

@ -0,0 +1,12 @@
# Leaderboards
## Recalculation
To figure out if a Leaderboard needs recalculation, the easiest way is to get
the transaction set that it corresponds to, and compare either the sum or count
of that result set to the sum of the leaderboard values.
This can be done at any time, but if recalculation is needed then ALL
leaderboards newer than one that doesnt match (of the same type) will need
recalculating due to possible position changes, and therefore the trend
changing.