mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
Alt blocks number added to index2.html
This commit is contained in:
parent
c2d78c692b
commit
14f615441d
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue