|
|
|
@ -49,11 +49,6 @@ CTxOut::CTxOut(const CAmount& nValueIn, CScript scriptPubKeyIn)
@@ -49,11 +49,6 @@ CTxOut::CTxOut(const CAmount& nValueIn, CScript scriptPubKeyIn)
|
|
|
|
|
scriptPubKey = scriptPubKeyIn; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint256 CTxOut::GetHash() const |
|
|
|
|
{ |
|
|
|
|
return SerializeHash(*this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
std::string CTxOut::ToString() const |
|
|
|
|
{ |
|
|
|
|
return strprintf("CTxOut(nValue=%d.%08d, scriptPubKey=%s)", nValue / COIN, nValue % COIN, HexStr(scriptPubKey).substr(0, 30)); |
|
|
|
|