From 103d76c0b5acf34dc06cf9a0eed945e7068d5e71 Mon Sep 17 00:00:00 2001 From: Just Wonder Date: Wed, 25 Mar 2020 10:39:22 -0700 Subject: [PATCH] Increased maxage of keva_filter from 36000 to 96000. --- src/rpc/rpckeva_nonwallet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpc/rpckeva_nonwallet.cpp b/src/rpc/rpckeva_nonwallet.cpp index 7ce9ac0e3..501e4466d 100644 --- a/src/rpc/rpckeva_nonwallet.cpp +++ b/src/rpc/rpckeva_nonwallet.cpp @@ -164,7 +164,7 @@ UniValue keva_filter(const JSONRPCRequest& request) "\nArguments:\n" "1. \"namespace\" (string) namespace Id\n" "2. \"regexp\" (string, optional) filter keys with this regexp\n" - "3. \"maxage\" (numeric, optional, default=36000) only consider names updated in the last \"maxage\" blocks; 0 means all names\n" + "3. \"maxage\" (numeric, optional, default=96000) only consider names updated in the last \"maxage\" blocks; 0 means all names\n" "4. \"from\" (numeric, optional, default=0) return from this position onward; index starts at 0\n" "5. \"nb\" (numeric, optional, default=0) return only \"nb\" entries; 0 means all\n" "6. \"stat\" (string, optional) if set to the string \"stat\", print statistics instead of returning the names\n" @@ -175,7 +175,7 @@ UniValue keva_filter(const JSONRPCRequest& request) "]\n" "\nExamples:\n" + HelpExampleCli ("keva_filter", "\"^id/\"") - + HelpExampleCli ("keva_filter", "\"^id/\" 36000 0 0 \"stat\"") + + HelpExampleCli ("keva_filter", "\"^id/\" 96000 0 0 \"stat\"") + HelpExampleRpc ("keva_filter", "\"^d/\"") ); @@ -198,7 +198,7 @@ UniValue keva_filter(const JSONRPCRequest& request) boost::xpressive::sregex regexp; valtype nameSpace; - int maxage(36000), from(0), nb(0); + int maxage(96000), from(0), nb(0); bool stats(false); if (request.params.size() >= 1) {