5 confirmations, then you can undo the transaction?
I think that's impossible. I don't think there's any wallet that can do this except for transactions with 0 confirmation. Electrum can cancel the transaction, but the process is by replacing the old transaction to send BTC back to your wallet with a higher TX fee.
NO, You can immediately undo the transaction, that is the entire idea, the faster the better, you have until the 6th confirmation comes in, if the undo transaction was not issued/seen by the network by that time/block, the undo transaction is no longer valid/accepted and the transaction is permanent.
So the idea is you must submit the undo transaction before the usual/guidance/advise of waiting 6 confirmations before a bitcoin transaction can be considered valid/safe.
Consider the "impossibility"... well some mention a feature which can be used to replace "in flight" transactions, this new idea is to enable "stored/commited transactions" to be "undo"/marked as invalid/undone.
So this would be a change/addition/modification to the bitcoin protocol and source code to *make it possible* =D
This is not currently possible and probably never will be in the foreseeable future because of the simple reason of once you send a transaction to another address, you no longer have the private keys to spend that sent BTC.
So any proposal that implements an "undo" transaction will not work out because then anybody could do chargebacks, and normal people would no longer be able to trust that untrustworthy actors have sent their BTC and won't try to take it back fraudulently.
I think this is nonsense, the original transaction will simply be ignored/overruled by the undo transaction which will be recorded in block 1,2,3,4,5 after the original transaction.
As far as I know private keys are never revealed in bitcoin... it's only used to "sign" a transaction, and therefore there is no problem, and an undo transaction can also be signed by original user, whoever it was transferred to is not the new owner, as it was rolled back/undone...
I do see one potential problem with this idea: a merchant must keep up with the blocks to see the undo transaction, if the merchant's bitcoin system would go offline it might not see the undo transaction...
When you read the whitepaper and study Bitcoin more you realize that one of the principles which is the central idea behind Bitcoin was its irreversibility. It is actually addressing an existing problem with previous payment systems (eg. PayPal) where the transactions can be reversed very easily and the problems such a feature creates for its users specifically the merchants (receiving payments).
What you are suggesting goes against that principle.
Which parts of the paper you believe has this intention ?
![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
50 minutes and an "undo" option? That doesn’t seem like something the community would support.
Bitcoin’s whole purpose is to scale and provide fast, irreversible transactions. A 50-minute wait time and the ability to cancel transactions go completely against that purpose. It would make things messy, like following the model of some fiat digital wallets.
In our country, one of the wallet providers actually introduced something similar, and while it may work for fiat, it feels out of place for Bitcoin.
GCash cannot automatically reverse a completed transaction, but you can dispute it
Some users like it, but we are not fiat, we are bitcoin,, so we don't follow their style.
Strange conception you have. Bitcoin general advise is to wait 6 confirmations, this is not unnecessary, it's the way bitcoin works internally, it's possible for their to be multi-chain/multi-end points, basically a race condition, where multiple chains are the longest, only after some time will one grow faster than the other.
As usual, i see you make unique suggestion/idea on technical board. I can't wait coffee shop require 6 (5 + 1) confirmation and exchange require 11 (5 + 6) confirmation, once your idea implemented on Bitcoin network.
Jokes aside, people already can "undo" or "cancel" their unconfirmed transaction thanks to existence of RBF and full-RBF. They just need to use wallet which support such feature, such as Electrum.
Why is the exchange included in the transaction, that part of your comment/reply I do not understand ? Maybe to convert dollars into bitcoin and then pay at the coffee shop with bitcoin ?
Just never sign a transaction unless its locktimed for at least 5 blocks in the future. TADA "undo". Enjoy.
I like it! OP could even patch one of the open source wallets to do this for him. I won't use it though: it'll just be annoyingly slow. Waiting for 1 confirmation already feels slow when I order something.
more forgiving for human errors
Scammers will love this feature!
While bitcoin is the gold standard of cryptocoins, it is indeed slow, the idea is that other faster blockchains/dagchains will overtake/also incorporate this feature so that faster blockchains can also support it, but maybe with more "grace" blocks, otherwise the undo time would be quite limited.
Concerning the scammers
![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
It's good practice for people to wait a certain number of transactions for confirmations =D This could also be build into software to make sure transactions weren't undone.
In case of bitcoin this should give the user 50 minutes the time to issue the undo transaction, after the 6th confirmation of the original transaction it is no longer possible if the undo transaction was not included in the 2th, 3th, 4th, 5th, 6th block since the original transaction, being the 1th block.
Don't you think that if this is implemented in the bitcoin network, it will give some people the room to malicious undo transactions which can pave way for double spending and hence create confusion in the network.
You are trying to destroy one of the unique attributes of bitcoin as I learnt, i.e irreversibility. This feature makes bitcoin fit for ai and machine integration in the future.
Edit: Just noticing that pooya87 has said similar thing above.
I think the opposite logic could also be used, it gives people the chance to recover from malicious events, like people realize they got scammed, by for example sending small amounts of bitcoins to rich bitcoin people and these addresses end up in their wallets and they send to the wrong address because it was a smaller address, for example:
ert45345...3453453
ert45345...3453453
^
A known attack where some wallets don't display all digits and the ... contain the scammers address.
I don't think the bitcoin paper every mention irreversibility, it just uses hashes to provide security and solve a race condition primarily, that is something else.