From 00b76ba5b847020867d6411c4946fc96e97d5007 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 24 Aug 2017 13:19:06 +0800 Subject: [PATCH] median size of recent blocks removed in pleace from network info --- src/page.h | 5 ----- src/templates/index2.html | 1 - 2 files changed, 6 deletions(-) diff --git a/src/page.h b/src/page.h index 51d400b..b79eac2 100644 --- a/src/page.h +++ b/src/page.h @@ -679,11 +679,6 @@ namespace xmreg } // while (i <= end_height) - // calculate median size of the blocks shown - double blk_size_median = xmreg::calc_median(blk_sizes.begin(), blk_sizes.end()); - - context["blk_size_median"] = fmt::format("{:0.2f}", blk_size_median); - // save computational times for disply in the frontend diff --git a/src/templates/index2.html b/src/templates/index2.html index df5dd45..1393eb3 100644 --- a/src/templates/index2.html +++ b/src/templates/index2.html @@ -64,7 +64,6 @@

Transactions in older blocks

{{/is_page_zero}} -

(Median size of these blocks: {{blk_size_median}} kB)