mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-03-11 05:03:31 +00:00
Remove unused CTxOut::GetHash()
This commit is contained in:
parent
ed64bcec2d
commit
190fd321ad
@ -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…
x
Reference in New Issue
Block a user