What this does
This plug tests whether a supplied amount is dust and gates execution on the result. It asks the caller for amount, the figure being measured, and dust_definition, the cutoff it is compared against. It marks the amount as dust when it is less than the cutoff and requires that dust flag to equal false, proceeding only when the amount sits at or above the cutoff and reverting otherwise. Checking this by hand or against a stale cutoff risks letting a below-threshold amount pass or blocking a valid one.
Actions · 3



Related plugs · 8