Remove unused CTxOut::GetHash()
This commit is contained in:
parent
ed64bcec2d
commit
190fd321ad
2 changed files with 0 additions and 7 deletions
|
@ -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));
|
||||
|
|
|
@ -160,8 +160,6 @@ public:
|
|||
return (nValue == -1);
|
||||
}
|
||||
|
||||
uint256 GetHash() const;
|
||||
|
||||
CAmount GetDustThreshold(const CFeeRate &minRelayTxFee) const
|
||||
{
|
||||
// "Dust" is defined in terms of CTransaction::minRelayTxFee,
|
||||
|
|
Loading…
Reference in a new issue