MCPcopy Create free account
hub / github.com/ElementsProject/elements / isDust

Function isDust

src/qt/guiutil.cpp:242–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242bool isDust(interfaces::Node& node, const QString& address, const CAmount& amount)
243{
244 CTxDestination dest = DecodeDestination(address.toStdString());
245 CScript script = GetScriptForDestination(dest);
246 CTxOut txOut(CAsset(), amount, script);
247 return IsDust(txOut, node.getDustRelayFee());
248}
249
250QString HtmlEscape(const QString& str, bool fMultiLine)
251{

Callers 1

validateMethod · 0.85

Calls 5

DecodeDestinationFunction · 0.85
GetScriptForDestinationFunction · 0.85
CAssetClass · 0.85
IsDustFunction · 0.85
getDustRelayFeeMethod · 0.80

Tested by

no test coverage detected