aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/util.h
diff options
context:
space:
mode:
authorJon Atack <[email protected]>2019-11-26 19:25:56 +0100
committerJon Atack <[email protected]>2019-12-13 02:02:29 +0100
commite2f32cb5c5c7f2b1d1fc7003587b6573fb59526a (patch)
tree5a6c59968b478560dc738db8249b6d16a2b2da9b /src/rpc/util.h
parentMerge #17283: rpc: improve getaddressinfo test coverage, help, code docs (diff)
downloaddiscoin-e2f32cb5c5c7f2b1d1fc7003587b6573fb59526a.tar.xz
discoin-e2f32cb5c5c7f2b1d1fc7003587b6573fb59526a.zip
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.h')
-rw-r--r--src/rpc/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h
index 9304e1fef..065a992a8 100644
--- a/src/rpc/util.h
+++ b/src/rpc/util.h
@@ -22,6 +22,12 @@
#include <boost/variant.hpp>
+/**
+ * String used to describe UNIX epoch time in documentation, factored out to a
+ * constant for consistency.
+ */
+extern const std::string UNIX_EPOCH_TIME;
+
class FillableSigningProvider;
class CPubKey;
class CScript;