Block size limit changed to median block size

master
moneroexamples 7 years ago
parent 6b286063fb
commit 661f6910c8

@ -728,7 +728,7 @@ namespace xmreg
string block_size_limit = fmt::format("{:0.2f}", string block_size_limit = fmt::format("{:0.2f}",
static_cast<double>( static_cast<double>(
current_network_info.block_size_limit / 2)/1024.0); current_network_info.block_size_limit / 2) / 1024.0);
context["network_info"] = mstch::map { context["network_info"] = mstch::map {
{"difficulty" , current_network_info.difficulty}, {"difficulty" , current_network_info.difficulty},

@ -39,7 +39,7 @@
Network difficulty: {{difficulty}} Network difficulty: {{difficulty}}
| Hash rate: {{hash_rate}} | Hash rate: {{hash_rate}}
| Fee per kb: {{fee_per_kb}} | Fee per kb: {{fee_per_kb}}
| Block size limit: {{block_size_limit}} kB | Median block size: {{block_size_limit}} kB
{{^is_current_info}} {{^is_current_info}}
| Data from {{age}} {{age_format}} ago | Data from {{age}} {{age_format}} ago
{{/is_current_info}} {{/is_current_info}}

Loading…
Cancel
Save