Remove unused function StackString() and class CCoins;
This commit is contained in:
parent
2e731f24b5
commit
8d5e5102f6
20
src/script.h
20
src/script.h
@ -18,7 +18,6 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
#include <boost/variant.hpp>
|
#include <boost/variant.hpp>
|
||||||
|
|
||||||
class CCoins;
|
|
||||||
class CKeyStore;
|
class CKeyStore;
|
||||||
class CTransaction;
|
class CTransaction;
|
||||||
struct CMutableTransaction;
|
struct CMutableTransaction;
|
||||||
@ -411,25 +410,6 @@ inline std::string ValueString(const std::vector<unsigned char>& vch)
|
|||||||
return HexStr(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 */
|
/** Serialized script, used inside transaction inputs and outputs */
|
||||||
class CScript : public std::vector<unsigned char>
|
class CScript : public std::vector<unsigned char>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user