aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/util.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2019-11-26 19:25:56 +0100
committerJon Atack <jon@atack.com>2019-12-13 02:02:29 +0100
commite2f32cb5c5c7f2b1d1fc7003587b6573fb59526a (patch)
tree5a6c59968b478560dc738db8249b6d16a2b2da9b /src/rpc/util.cpp
parentd8a66626d63135fd245d5afc524b88b9a94d208b (diff)
downloadbitcoin-e2f32cb5c5c7f2b1d1fc7003587b6573fb59526a.tar.xz
qa: unify unix epoch time descriptions
to "UNIX epoch time". Call sites updated: ``` mocktime getblockheader getblock pruneblockchain getchaintxstats getblocktemplate setmocktime getpeerinfo setban getnodeaddresses getrawtransaction importmulti listtransactions listsinceblock gettransaction getwalletinfo getaddressinfo ```
Diffstat (limited to 'src/rpc/util.cpp')
-rw-r--r--src/rpc/util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp
index 0791a365fe..78586c22f9 100644
--- a/src/rpc/util.cpp
+++ b/src/rpc/util.cpp
@@ -13,6 +13,8 @@
#include <tuple>
+const std::string UNIX_EPOCH_TIME = "UNIX epoch time";
+
void RPCTypeCheck(const UniValue& params,
const std::list<UniValueType>& typesExpected,
bool fAllowNull)