diff options
Diffstat (limited to 'src/script.h')
-rw-r--r-- | src/script.h | 21 |
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> { |