| 57 | } |
| 58 | |
| 59 | bool IsDust(const CTxOut& txout, const CFeeRate& dustRelayFeeIn) |
| 60 | { |
| 61 | if (!txout.nValue.IsExplicit()) |
| 62 | return false; // FIXME |
| 63 | if (!txout.nAsset.IsExplicit()) |
| 64 | return false; |
| 65 | if (txout.IsFee()) |
| 66 | return false; |
| 67 | return (txout.nValue.GetAmount() < GetDustThreshold(txout, dustRelayFeeIn)); |
| 68 | } |
| 69 | |
| 70 | bool IsStandard(const CScript& scriptPubKey, TxoutType& whichType) |
| 71 | { |