MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / isDust

Function isDust

src/qt/guiutil.cpp:212–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212bool isDust(interfaces::Node& node, const QString& address, const CAmount& amount)
213{
214 CTxDestination dest = DecodeDestination(address.toStdString());
215 CScript script = GetScriptForDestination(dest);
216 CTxOut txOut(amount, script);
217 return IsDust(txOut, node.getDustRelayFee());
218}
219
220QString HtmlEscape(const QString& str, bool fMultiLine)
221{

Callers 1

validateMethod · 0.85

Calls 4

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

Tested by

no test coverage detected