aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-02 15:11:44 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-02 15:11:55 +0200
commitb8d92236f61699846f67d8ce6cb55458a46f9de1 (patch)
treed4a9ff259c69469f9b1828d901ffe87659cca735 /src/script.h
parent6ce927cf107a3c876d9ad4663e86cccb5adbd77e (diff)
parent53efb09e4ceaa0ccb4e6271387f5013fe5e1ec75 (diff)
downloadbitcoin-b8d92236f61699846f67d8ce6cb55458a46f9de1.tar.xz
Merge pull request #4812
53efb09 Discover some missing includes (jtimon) 8d5e510 Remove unused function StackString() and class CCoins; (jtimon)
Diffstat (limited to 'src/script.h')
-rw-r--r--src/script.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/script.h b/src/script.h
index 8e6aedcc63..d17cfe3fa4 100644
--- a/src/script.h
+++ b/src/script.h
@@ -15,10 +15,8 @@
#include <string>
#include <vector>
-#include <boost/foreach.hpp>
#include <boost/variant.hpp>
-class CCoins;
class CKeyStore;
class CTransaction;
struct CMutableTransaction;
@@ -411,25 +409,6 @@ inline std::string ValueString(const std::vector<unsigned char>& vch)
return HexStr(vch);
}
-inline std::string StackString(const std::vector<std::vector<unsigned char> >& vStack)
-{
- std::string str;
- BOOST_FOREACH(const std::vector<unsigned char>& vch, vStack)
- {
- if (!str.empty())
- str += " ";
- str += ValueString(vch);
- }
- return str;
-}
-
-
-
-
-
-
-
-
/** Serialized script, used inside transaction inputs and outputs */
class CScript : public std::vector<unsigned char>
{