Answer the question
In order to leave comments, you need to log in
How does bitcoin determine the used input?
Why can't a transaction refer to the same input multiple times if the input cannot be marked as "spent" because is it already on the blockchain?
Answer the question
In order to leave comments, you need to log in
If we are talking about botcoin core, then it marks the funds as spent for itself and does not allow it to be spent a second time. They say that if there is no confirmation for a very long time. then he can unlock the funds, but I did not check.
Of course, in theory, you can create as many outputs as you like and send them to the network. In practice, it is enough to export the private key and import it into a new wallet.dat that is not aware of this transaction, it will allow you to spend the coins again.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question