Author

Topic: How can a transaction like this happen before confirming ? (Read 278 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
Well thank you. I always used to think that it was built in. Didn't know it was just the wallets preventing from creating a transaction when there was an unconfirmed one.

So if it turns out to be a double spend, then the whole transaction would disappear i suppose ?
Yes. If the first transaction is invalidated by a double spend which confirms, then any transaction which spent from it is also invalidated. This can also happen if the first unconfirmed transaction pays too low of a fee and is "forgotten" by the network. The network will "forget" the second transaction too since they don't "remember" the first one.
legendary
Activity: 954
Merit: 1000
No, a transaction does not need to be confirmed before another one can be created that spends from it. There is no consensus or network rule that prevents you from spending from an unconfirmed output. However, most wallet software will prevent you from doing so as it can potentially lead to a loss of funds. But just because wallet software limits it does not mean that it cannot be done.

Well thank you. I always used to think that it was built in. Didn't know it was just the wallets preventing from creating a transaction when there was an unconfirmed one.

So if it turns out to be a double spend, then the whole transaction would disappear i suppose ?

staff
Activity: 3458
Merit: 6793
Just writing some code
No, a transaction does not need to be confirmed before another one can be created that spends from it. There is no consensus or network rule that prevents you from spending from an unconfirmed output. However, most wallet software will prevent you from doing so as it can potentially lead to a loss of funds. But just because wallet software limits it does not mean that it cannot be done.
legendary
Activity: 954
Merit: 1000
So I saw this transaction today



And the money left the address right after it arrived there without any confirmation .

How is this possible ? Doesn't it need to confirm before that address can send it ?
Jump to: