6

Say someone holds 100,000 btc. Over time, this address has been spammed with dust by numerous parties.

Now, the oldest funds come from the previous large transaction. If the dust is, say 0.0000101 btc, can someone send this exact amount elsewhere and get rid of the dust? Or will the client get the oldest inputs and spend the dust from there?

4

2 Answers 2

5

Bitcoin Core doesn't use an oldest-first selection but a more complex solver, it will probably end up spending outputs you don't want to in this particular case. You can do manual selection of the outputs you want to spend using the Coin Control section of the advanced GUI, which will let you ignore the dust if you don't want to spend it.

Bitcoin Core Output Selection

4
  • I'm new to bitcoin, but the question is about which inputs will be spent, so I think you have to change the 'outputs' with 'inputs', or is it interchangeable in this context?
    – croraf
    Commented Oct 21, 2017 at 12:02
  • They’re two words for the same thing, inputs are outputs being spent.
    – Claris
    Commented Oct 22, 2017 at 8:44
  • Inputs of the current transaction are some of the unspent outputs from previous transactions? In the picture the list is the list of unspent outputs, and checked ones will be used as inputs for current transaction?
    – croraf
    Commented Oct 22, 2017 at 8:56
  • That is correct.
    – Claris
    Commented Oct 22, 2017 at 9:18
2

Depends on the software. You can construct a transaction that spends whichever utxos you want, so yes, you can send someone the exact amount of the sum of dust transactions. As for the transaction fee, the network may or may not relay, but even there, you may be able to get a friendly miner to mine it.

1
  • 2
    The question seems to be specifically asking about the behavior of Bitcoin Core and/or XT. Commented Nov 10, 2015 at 4:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.