Alt blocks number added to index2.html

master
moneroexamples 8 years ago
parent c2d78c692b
commit 14f615441d

@ -750,7 +750,8 @@ namespace xmreg
context["network_info"] = mstch::map { context["network_info"] = mstch::map {
{"difficulty" , j_network_info["difficulty"].get<uint64_t>()}, {"difficulty" , j_network_info["difficulty"].get<uint64_t>()},
{"hash_rate" , difficulty}, {"hash_rate" , difficulty},
{"fee_per_kb" , print_money(j_network_info["fee_per_kb"])} {"fee_per_kb" , print_money(j_network_info["fee_per_kb"])},
{"alt_blocks_no" , j_network_info["alt_blocks_count"].get<uint64_t>()}
}; };
} }
} }

@ -39,6 +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}}
| Alt blocks: {{alt_blocks_no}}
</h3> </h3>
{{/network_info}} {{/network_info}}

Loading…
Cancel
Save