median size of recent blocks removed in pleace from network info

master
moneroexamples 7 years ago
parent 6efe7d2fbc
commit 00b76ba5b8

@ -679,11 +679,6 @@ namespace xmreg
} // while (i <= end_height) } // 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 // save computational times for disply in the frontend

@ -64,7 +64,6 @@
<h2 style="margin-bottom: 0px">Transactions in older blocks<!--(height: {{height}})--></h2> <h2 style="margin-bottom: 0px">Transactions in older blocks<!--(height: {{height}})--></h2>
{{/is_page_zero}} {{/is_page_zero}}
<h4 style="font-size: 12px; margin-top: 0px">(Median size of these blocks: {{blk_size_median}} kB)</h4>

Loading…
Cancel
Save