mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
disable alt blocks for now
This commit is contained in:
parent
a850751d48
commit
ad3e14a3aa
2 changed files with 4 additions and 5 deletions
8
main.cpp
8
main.cpp
|
@ -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…
Reference in a new issue