From 661f6910c8a108dcedcc08872ef72f79af32e549 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Wed, 23 Aug 2017 08:22:13 +0800 Subject: [PATCH] Block size limit changed to median block size --- src/page.h | 2 +- src/templates/index2.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/page.h b/src/page.h index 5a3b4b7..51d400b 100644 --- a/src/page.h +++ b/src/page.h @@ -728,7 +728,7 @@ namespace xmreg string block_size_limit = fmt::format("{:0.2f}", static_cast( - current_network_info.block_size_limit / 2)/1024.0); + current_network_info.block_size_limit / 2) / 1024.0); context["network_info"] = mstch::map { {"difficulty" , current_network_info.difficulty}, diff --git a/src/templates/index2.html b/src/templates/index2.html index 772e3e0..8e3bac0 100644 --- a/src/templates/index2.html +++ b/src/templates/index2.html @@ -39,7 +39,7 @@ Network difficulty: {{difficulty}} | Hash rate: {{hash_rate}} | Fee per kb: {{fee_per_kb}} - | Block size limit: {{block_size_limit}} kB + | Median block size: {{block_size_limit}} kB {{^is_current_info}} | Data from {{age}} {{age_format}} ago {{/is_current_info}}