|
|
@ -393,7 +393,7 @@ int main(int ac, const char* av[]) {
|
|
|
|
req.url_params.get("page") : "0";
|
|
|
|
req.url_params.get("page") : "0";
|
|
|
|
|
|
|
|
|
|
|
|
// default value for limit is some large number, so that
|
|
|
|
// default value for limit is some large number, so that
|
|
|
|
// a call to api/mempool without any arguments return all
|
|
|
|
// a call to api/mempool without any limit return all
|
|
|
|
// mempool txs
|
|
|
|
// mempool txs
|
|
|
|
string limit = regex_search(req.raw_url, regex {"limit=\\d+"}) ?
|
|
|
|
string limit = regex_search(req.raw_url, regex {"limit=\\d+"}) ?
|
|
|
|
req.url_params.get("limit") : "100000000";
|
|
|
|
req.url_params.get("limit") : "100000000";
|
|
|
|