4

The title of the question is probably specific enough, but I'll give more color anyway.

Here's a quick timeline.

  1. I received output A a year ago.
  2. In the last year, output A has been a decoy in 3 transactions.
  3. Today, I spend output A; therefore the key image ensures the output can't be spent again.

Question: In the future, can output A be used as a decoy again?

Bonus question: Is there a limit to how many times an output can be a decoy in a ring signature?

user36303
  • 34,928
  • 2
  • 58
  • 123
scoobybejesus
  • 5,515
  • 21
  • 42

1 Answers1

5

Any output can be used as a "decoy" at any time after it matures, whether this is before or after it's been spent.

In the general case [1], the network cannot determine when an output is spent, and thus does not treat spent outputs differently from unspent ones. Indeed, if the network could determine whether any output was spent, it would mostly defeat the purpose of ring signatures.

There is no maximum number of times an output can be used as input to a ring signature.

[1] In some particular corner cases, such as spending with mixin 0, you can tell.

user36303
  • 34,928
  • 2
  • 58
  • 123