diff options
author | jtimon <jtimon@monetize.io> | 2014-08-23 03:52:54 +0200 |
---|---|---|
committer | jtimon <jtimon@blockstream.io> | 2014-09-02 02:27:03 +0200 |
commit | 8d5e5102f6f80c037b6bbc2985b778fd40c80d1c (patch) | |
tree | 9577da55f563de890264df0ee9b1ca034747d688 | |
parent | 2e731f24b5a5c894e013a6d752f1cd409303e916 (diff) |
Remove unused function StackString() and class CCoins;
-rw-r--r-- | src/script.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/script.h b/src/script.h index 8e6aedcc63..c1f5aa1dd5 100644 --- a/src/script.h +++ b/src/script.h @@ -18,7 +18,6 @@ #include <boost/foreach.hpp> #include <boost/variant.hpp> -class CCoins; class CKeyStore; class CTransaction; struct CMutableTransaction; @@ -411,25 +410,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> { |