aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-06-10 15:01:23 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-06-10 15:03:21 +0200
commit6dd5edb7de7f5f9aeac71b676c71186405a15376 (patch)
treecb1bdccfb3538dc764932a59dcdbc1fddd9ccb93 /src/util.h
parent588fb4e82f0c3ade92646fdd6b325003be46f459 (diff)
downloadbitcoin-6dd5edb7de7f5f9aeac71b676c71186405a15376.tar.xz
Remove unused Print/PrintHex functions
You can just use HexStr(script) or script.ToString() for debugging, no need for these extra functions.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/util.h b/src/util.h
index b09f9bb15e..e070365790 100644
--- a/src/util.h
+++ b/src/util.h
@@ -286,17 +286,6 @@ inline std::string HexStr(const T& vch, bool fSpaces=false)
return HexStr(vch.begin(), vch.end(), fSpaces);
}
-template<typename T>
-void PrintHex(const T pbegin, const T pend, const char* pszFormat="%s", bool fSpaces=true)
-{
- LogPrintf(pszFormat, HexStr(pbegin, pend, fSpaces).c_str());
-}
-
-inline void PrintHex(const std::vector<unsigned char>& vch, const char* pszFormat="%s", bool fSpaces=true)
-{
- LogPrintf(pszFormat, HexStr(vch, fSpaces).c_str());
-}
-
inline int64_t GetPerformanceCounter()
{
int64_t nCounter = 0;