diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-09-17 12:08:53 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-09-17 13:04:54 +0200 |
| commit | 69dd8c919aa3a1b88af34265f828fe0a58a55014 (patch) | |
| tree | 672551d1afcb67ad45a24450ac753cfbd31d2e1e /src/script/script.h | |
| parent | Merge pull request #4927 (diff) | |
| parent | Move CTxDestination from script/script to script/standard (diff) | |
| download | discoin-69dd8c919aa3a1b88af34265f828fe0a58a55014.tar.xz discoin-69dd8c919aa3a1b88af34265f828fe0a58a55014.zip | |
Merge pull request #4899
0be990b Move CTxDestination from script/script to script/standard (Pieter Wuille)
Diffstat (limited to 'src/script/script.h')
| -rw-r--r-- | src/script/script.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/script/script.h b/src/script/script.h index 2336cafd6..07a4229f8 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -320,20 +320,6 @@ inline std::string ValueString(const std::vector<unsigned char>& vch) return HexStr(vch); } -class CNoDestination { -public: - friend bool operator==(const CNoDestination &a, const CNoDestination &b) { return true; } - friend bool operator<(const CNoDestination &a, const CNoDestination &b) { return true; } -}; - -/** A txout script template with a specific destination. It is either: - * * CNoDestination: no destination set - * * CKeyID: TX_PUBKEYHASH destination - * * CScriptID: TX_SCRIPTHASH destination - * A CTxDestination is the internal data type encoded in a CBitcoinAddress - */ -typedef boost::variant<CNoDestination, CKeyID, CScriptID> CTxDestination; - /** Serialized script, used inside transaction inputs and outputs */ class CScript : public std::vector<unsigned char> { @@ -604,9 +590,6 @@ public: return (size() > 0 && *begin() == OP_RETURN); } - void SetDestination(const CTxDestination& address); - void SetMultisig(int nRequired, const std::vector<CPubKey>& keys); - std::string ToString() const { std::string str; |