mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Merge #9085: Remove unused CTxOut::GetHash()
190fd32
Remove unused CTxOut::GetHash() (Matt Corallo)
This commit is contained in:
commit
05009935f9
@ -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));
|
||||||
|
@ -160,8 +160,6 @@ public:
|
|||||||
return (nValue == -1);
|
return (nValue == -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint256 GetHash() const;
|
|
||||||
|
|
||||||
CAmount GetDustThreshold(const CFeeRate &minRelayTxFee) const
|
CAmount GetDustThreshold(const CFeeRate &minRelayTxFee) const
|
||||||
{
|
{
|
||||||
// "Dust" is defined in terms of CTransaction::minRelayTxFee,
|
// "Dust" is defined in terms of CTransaction::minRelayTxFee,
|
||||||
|
Loading…
Reference in New Issue
Block a user