disable alt blocks for now

master
moneroexamples 7 years ago
parent a850751d48
commit ad3e14a3aa

@ -431,10 +431,10 @@ main(int ac, const char* av[])
return xmrblocks.mempool(true); return xmrblocks.mempool(true);
}); });
CROW_ROUTE(app, "/altblocks") // CROW_ROUTE(app, "/altblocks")
([&](const crow::request& req) { // ([&](const crow::request& req) {
return xmrblocks.altblocks(); // return xmrblocks.altblocks();
}); // });
CROW_ROUTE(app, "/robots.txt") CROW_ROUTE(app, "/robots.txt")
([&]() { ([&]() {

@ -40,7 +40,6 @@
| 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 | Block size limit: {{block_size_limit}} kB
| Alt blocks no: {{^have_alt_block}}{{alt_blocks_no}}{{/have_alt_block}}{{#have_alt_block}}<a href="/altblocks">{{alt_blocks_no}}</a>{{/have_alt_block}}
{{^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