diff --git a/src/page.h b/src/page.h index 374d948..09ecfd6 100644 --- a/src/page.h +++ b/src/page.h @@ -750,7 +750,8 @@ namespace xmreg context["network_info"] = mstch::map { {"difficulty" , j_network_info["difficulty"].get()}, {"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()} }; } } diff --git a/src/templates/index2.html b/src/templates/index2.html index b143591..31fabe2 100644 --- a/src/templates/index2.html +++ b/src/templates/index2.html @@ -39,6 +39,7 @@ Network difficulty: {{difficulty}} | Hash rate: {{hash_rate}} | Fee per kb: {{fee_per_kb}} + | Alt blocks: {{alt_blocks_no}} {{/network_info}}