MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsDust

Function IsDust

src/wallet/spend.cpp:1054–1057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1052}
1053
1054bool IsDust(const CRecipient& recipient, const CFeeRate& dustRelayFee)
1055{
1056 return ::IsDust(CTxOut(recipient.nAmount, GetScriptForDestination(recipient.dest)), dustRelayFee);
1057}
1058
1059static util::Result<CreatedTransactionResult> CreateTransactionInternal(
1060 CWallet& wallet,

Callers 5

spend.cppFile · 0.70
sendallFunction · 0.50
FUZZ_TARGETFunction · 0.50
updateLabelsMethod · 0.50
isDustFunction · 0.50

Calls 2

GetScriptForDestinationFunction · 0.85
CTxOutClass · 0.50

Tested by 1

FUZZ_TARGETFunction · 0.40