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