TV full screen view.

This commit is contained in:
Simon Lindh
2019-07-27 18:43:17 +03:00
parent 48c280f8c3
commit c206cc8eb5
14 changed files with 339 additions and 130 deletions

View File

@@ -215,13 +215,6 @@ export class StatisticsComponent implements OnInit {
};
}
getTimeToNextTenMinutes(): number {
const now = new Date();
const nextInterval = new Date(now.getFullYear(), now.getMonth(), now.getDate(), now.getHours(),
Math.floor(now.getMinutes() / 10) * 10 + 10, 0, 0);
return nextInterval.getTime() - now.getTime();
}
generateArray(mempoolStats: IMempoolStats[]) {
const logFees = [1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100, 125, 150, 175, 200,
250, 300, 350, 400, 500, 600, 700, 800, 900, 1000, 1200, 1400, 1600, 1800, 2000];