disable alt blocks for now

This commit is contained in:
moneroexamples 2017-08-20 08:21:38 +08:00
parent a850751d48
commit ad3e14a3aa
2 changed files with 4 additions and 5 deletions

View File

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

View File

@ -40,7 +40,6 @@
| Hash rate: {{hash_rate}}
| Fee per kb: {{fee_per_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}}
| Data from {{age}} {{age_format}} ago
{{/is_current_info}}