diff --git a/main.cpp b/main.cpp index fe7e2e9..f085994 100644 --- a/main.cpp +++ b/main.cpp @@ -431,6 +431,12 @@ main(int ac, const char* av[]) return xmrblocks.mempool(true); }); + // alias to "/mempool" + CROW_ROUTE(app, "/txpool") + ([&](const crow::request& req) { + return xmrblocks.mempool(true); + }); + // CROW_ROUTE(app, "/altblocks") // ([&](const crow::request& req) { // return xmrblocks.altblocks(); diff --git a/src/templates/index2.html b/src/templates/index2.html index 1393eb3..ae7f4cf 100644 --- a/src/templates/index2.html +++ b/src/templates/index2.html @@ -2,9 +2,9 @@
Mempool data preparation for the front page failed. +
Txpool data preparation for the front page failed. Its processing {{#network_info}}{{^is_pool_size_zero}}({{tx_pool_size}} txs){{/is_pool_size_zero}}{{/network_info}} took longer than expected and it timed out. - To view the mempool without time constrain, - go to dedicated mempool page: memory pool + To view the txpool without time constrain, + go to dedicated txpool page: memory pool
diff --git a/src/templates/pushrawtx.html b/src/templates/pushrawtx.html index eb4d272..1c7f7d2 100644 --- a/src/templates/pushrawtx.html +++ b/src/templates/pushrawtx.html @@ -18,7 +18,7 @@ {{^has_error}} If this is newly made tx, it can take some time (up to minute)
- for it to get propagated to all nodes' mempools.
+ for it to get propagated to all nodes' txpools.
Please refresh in 10-20 seconds to check if its here then.