Author

Topic: Canceling a transaction (Read 369 times)

legendary
Activity: 2268
Merit: 18771
December 05, 2022, 04:09:09 AM
#28
Sure, but the point is you gambled for free and didn't lose any money, while leaving the option to make money open just in case you won. The casino also didn't make any money on your losses, which they should have.
I get that, but in this case the casino is losing unrealized profits as opposed to losing actual funds. That's why they can allow users to gamble with unconfirmed funds at all, because in the case of a malicious spend they are only back where they started.

they will just disable it for new accounts while probably not doing it for longtime and loyal players.
Yeah, this is another valid option. There are a handful of merchants I shop at in person where I am a long term customer and they are happy to hand over the goods while my RBF-opted-out transaction is still unconfirmed. I imagine my relationship with these merchants will not change once full RBF is commonplace, exactly because I am a long term customer and they are as sure as they can be that I am not suddenly going to start attempting to scam them.
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
December 05, 2022, 03:19:40 AM
#27
Sure, but the point is you gambled for free and didn't lose any money, while leaving the option to make money open just in case you won. The casino also didn't make any money on your losses, which they should have.
The casino provide a service, the service used by customers, and at the end, the customers scammed the casino is how I see this. Assuming it is $100 transaction that the customer later use full RBF to double-spend, that only just mean that the casino has been scammed $100. Nothing left the casino reserve, but the amount of money that supposed to add to their reserve decreased, but the money can be nothing to them.

There are some people and sites that can still offer zero confirmation for full RBF transaction, example is a loyal customer that a seller know very well and also knowing his family and trust him to an extent and having excellent reputation in his community, another example are platforms that customers will not be able to withdraw his deposit after a long period of time or until the transaction is confirmed while the platform has nothing to lose like the gambling site example above in a way the customer will not be able to use the money at all.

But full RBF transaction supposed not to be accepted on a gambling site until it has at least 1 confirmation, if they accept it, it is just a vulnerability to the gambling site in my opinion. But they may have different ways about this, like not accepting deposit with high amount of money until it is confirmed and accepting deposit of low amount of money which they can afford to lose to their customers if it is double spent, to see if it works out good.
legendary
Activity: 2730
Merit: 7065
December 05, 2022, 02:54:12 AM
#26
If you deposit, lose, and then double spend your deposit, then the casino/sportsbook in question has only lost potential profits (your deposit), and hasn't actually lost anything from their reserves.
Sure, but the point is you gambled for free and didn't lose any money, while leaving the option to make money open just in case you won. The casino also didn't make any money on your losses, which they should have.

I wonder how many such places will continue to offer zero confirmation deposits after full RBF becomes widespread. Very few, I suspect, since it them become trivial for anyone to double spend a losing deposit.
Crypto casinos haven't been the fastest ones in the past to introduce new things, like SegWit for example. I remember it took some popular platforms years before they updated their systems to allow withdrawals to Bech32 addresses.

This time around, it's their profits and their money that's on the line, so they might be somewhat quicker. I still think they will wait to see what happens. And if they realize there are many players that abuse the zero-deposit feature, they will just disable it for new accounts while probably not doing it for longtime and loyal players.
legendary
Activity: 2268
Merit: 18771
December 04, 2022, 12:37:25 PM
#25
Sportsbet surely has to have some security mechanisms in place to battle against this.
If you deposit, lose, and then double spend your deposit, then the casino/sportsbook in question has only lost potential profits (your deposit), and hasn't actually lost anything from their reserves. So they can simply ban your account, email address, IP address, bitcoin address, and any other details they might hold on you, such as if you've completed KYC. Or if they really want to keep you as a customer despite your theft, they could simply disable zero confirmation deposits for you.

I wonder how many such places will continue to offer zero confirmation deposits after full RBF becomes widespread. Very few, I suspect, since it them become trivial for anyone to double spend a losing deposit.
legendary
Activity: 2730
Merit: 7065
December 04, 2022, 12:20:04 PM
#24
It's true that's why you should be careful when having an online transaction, make sure that the transaction is already confirmed before you send anything or conclude the transaction. This method is used before by cheaters as there are gambling sites before that credit your deposits despite being "unconfirmed", and they have learned their lessons.
Casinos have their methods to fight against doublespend attacks. Sportsbet.io, for example, allows instant bitcoin deposits. After a transaction is broadcasted to the network, it literally takes a few seconds for your account balance to be updated. You can then use your coins despite them still being in unconfirmed status to gamble.

But there is a catch. If you win some money and you attempt to make a withdrawal, it won't work unless your deposit transaction was confirmed on-chain. So cheating and doublespending isn't worth it in that particular case. Makes you wonder though if one could make a deposit and pay a low mining fee, quickly gamble, and if you lose, then you double spend the original transaction back to yourself with a much higher fee. Sportsbet surely has to have some security mechanisms in place to battle against this.     
legendary
Activity: 3472
Merit: 3217
Playbet.io - Crypto Casino and Sportsbook
December 04, 2022, 09:16:44 AM
#23
Do I always have at least 10 minutes, 3 hours or 1 day to cancel the transaction?
Can't say how much time you have to cancel a transaction.
If your transaction has been flagged as RBF, as long as it is unconfirmed, you can replace it with a new transaction paying higher fee.
It's possible that your transaction is confirmed in a few seconds. It's also possible that it stays unconfirmed even after says.
I just want to add this the confirmation time also depends on the network it is sometimes congested which leads to other transactions being stuck on the mempool that is why there is RBF to remake the transaction with a higher fee.
All transaction with high fees is always in high priority.

@sekssonikk actually in Bitcoin you can't cancel the transaction what you can only do is to make/replace another transaction with the same inputs and increase in fee.
legendary
Activity: 2268
Merit: 18771
December 04, 2022, 02:33:45 AM
#22
Do I always have at least 10 minutes, 3 hours or 1 day to cancel the transaction?
You have until the transaction is confirmed to attempt to double spend it back to yourself (i.e. cancel it). It all depends on the fee you pay and the current state of the mempool.

Take a look at what the mempool looks like here: https://jochen-hoenicke.de/queue/#BTC%20(default%20mempool),8h,weight

If your transaction pays 1 sat/vbyte in fees, and there are many megabytes of transactions which pay higher fee rates sitting in the mempool, then your transaction could take hours or days to confirm, giving you plenty of time to cancel it if you choose.
On the other hand, if the mempool is empty and your transaction pays a high fee putting it near the tip, your transaction could confirm within seconds of you broadcasting it, meaning you have no chance to cancel it at all.
legendary
Activity: 2380
Merit: 5213
December 03, 2022, 01:50:41 PM
#21
Do I always have at least 10 minutes, 3 hours or 1 day to cancel the transaction?
Can't say how much time you have to cancel a transaction.
If your transaction has been flagged as RBF, as long as it is unconfirmed, you can replace it with a new transaction paying higher fee.
It's possible that your transaction is confirmed in a few seconds. It's also possible that it stays unconfirmed even after says.
As mentioned by Charles-Tim above, the higher fee rate you set for your transaction, the faster it can be confirmed.
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
December 03, 2022, 12:17:36 PM
#20
Do I always have at least 10 minutes, 3 hours or 1 day to cancel the transaction?
It is only referring to low, medium and high priority for your transaction to be confirmed. The lower the fee, the lower the chance to include the transaction in the next blocks mined, the longer the time it would take for the transaction to be confirmed. With higher priority fee, your transaction has the probability to be included in the next block, while the chance decreases as the fee decreases in medium and low priority and the longer the time before it is confirmed.
newbie
Activity: 5
Merit: 0
December 03, 2022, 10:46:07 AM
#19
For my general development. What else do wallets exist that have an cancellation option?
I apologise for the off-topic question.
Not an off-topic question.

hosseinimr93 has already provided you with one of the wallets canceling unconfirmed bitcoin transaction can be possible which is Bluewallet:

Fee & Transactions control

Provides you a fee estimation targeting confirmations in 10m, 3h or 1 day. With real time calculation on how much to spend. Ability to Bump and Cancel sent transactions with "Replace-by-fee" (RBF) or with "Child-pays-for-parent" (CPFP).

Also you should be able to calcel an unconfirmed bitcoin transaction on Trezor Suite:

The "Speed up" and "Cancel" buttons can be found below the pending transaction in the "Activity" tab. Remember, you need to pay a fee (gas) to be able to speed up or cancel a transaction.

What does this mean?
"Provides you a fee estimation targeting confirmations in 10m, 3h or 1 day. With real time calculation on how much to spend. Ability to Bump and Cancel sent transactions with "Replace-by-fee" (RBF) or with "Child-pays-for-parent" (CPFP)."

Do I always have at least 10 minutes, 3 hours or 1 day to cancel the transaction?
hero member
Activity: 2954
Merit: 672
Message @Hhampuz if you are looking for a CM!
December 03, 2022, 05:39:42 AM
#18
It's true that's why you should be careful when having an online transaction, make sure that the transaction is already confirmed before you send anything or conclude the transaction. This method is used before by cheaters as there are gambling sites before that credit your deposits despite being "unconfirmed", and they have learned their lessons.
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
December 03, 2022, 02:46:51 AM
#17
For my general development. What else do wallets exist that have an cancellation option?
I apologise for the off-topic question.
Not an off-topic question.

hosseinimr93 has already provided you with one of the wallets canceling unconfirmed bitcoin transaction can be possible which is Bluewallet:

Fee & Transactions control

Provides you a fee estimation targeting confirmations in 10m, 3h or 1 day. With real time calculation on how much to spend. Ability to Bump and Cancel sent transactions with "Replace-by-fee" (RBF) or with "Child-pays-for-parent" (CPFP).

Also you should be able to calcel an unconfirmed bitcoin transaction on Trezor Suite:

The "Speed up" and "Cancel" buttons can be found below the pending transaction in the "Activity" tab. Remember, you need to pay a fee (gas) to be able to speed up or cancel a transaction.
legendary
Activity: 2380
Merit: 5213
December 03, 2022, 01:54:37 AM
#16
For my general development. What else do wallets exist that have an cancellation option?
You can use bluewallet too. Bluewallet is a non-custodial and open-source wallet that allows you to make RBF-enabled transactions, bump the fee and cancel transactions (Cancel means replace the RBF-enabled transaction with a new one paying higher fee and sending the fund to yourself)
newbie
Activity: 5
Merit: 0
December 03, 2022, 01:11:14 AM
#15
That is true as OmegaStarScream has already posted about it, but you should know that the transaction would be replaced with a new one with a higher fee and the coin would be sent to an address that belong to you, it also a replace-by-fee transaction just like to pump a transaction with a higher fee.

To be able to do that, you can use wallet like Electrum.

For my general development. What else do wallets exist that have an cancellation option?
I apologise for the off-topic question.
legendary
Activity: 3472
Merit: 3217
Playbet.io - Crypto Casino and Sportsbook
December 02, 2022, 06:58:21 PM
#14
I use a mobile app. How do I enable it there?

Electrum wallet in mobile RBF is enabled by default you don't need to change anything unless you check the final button after making a transaction.


To make this thing clear I'll add an image below to make sure you won't get lost



As you can see the final is check just uncheck it to enable RBF.
legendary
Activity: 2380
Merit: 5213
December 02, 2022, 11:29:15 AM
#13
I use a mobile app. How do I enable it there?
After you tap on "Pay" button on the mobile version of electrum, a new window for confirming the payment pops up.
If "Final" is unchecked in that window, your transaction will be replaceable by fee. If "Final" is checked, your transaction won't be replaceable by fee.
Note that by default, "Final" is unchecked and electrum make RBF-enabled transactions.
newbie
Activity: 5
Merit: 0
December 02, 2022, 11:13:12 AM
#12
I haven't used the wallet before, but I've heard that when you send bitcoins the transaction can be cancelled for a short time.
It mainly depends on the setting: "Tools->Preferences->Transactions->Use Replace-By-Fee".
If it's disabled, the option "cancel (double-spend)" wont show up in the unconfirmed transaction's right-click menu.

On a side note, that behavior might change depending on the Electrum servers and bitcoin node users' decision on "Full RBF" which is already available in the latest version of Bitcoin Core.
If most Bitcoin Core nodes enable the option mempoolfullrbf=1 (which is disable by default), the Electrum setting above wont be necessary.
I use a mobile app. How do I enable it there?
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
December 02, 2022, 04:00:45 AM
#11
But wallets can still be able to have the option to use RBF or not even if all nodes support full RBF, but just that it won't be like before that some transactions are made on those non recommended wallets that are not RBF transactions by default and the seed phrase or private key can not be imported on wallet like Electrum to pump the fee because RBF is not opted in for. Just that now, if a wallet do not support it, the transaction fee can be pumped using a wallet that support full RBF through seed phrase importation?
...
Since each node has their own mempool, the replacement transaction for a transaction (without rbf flag) will be broadcasted to the nodes that enabled full rbf and wont be broadcasted to those who don't.
So if all nodes support it, it definitely can reach a pool or solo miner that supports full-rbf, then "Use Replace-By-Fee" setting wont be necessary.

But from the current stand-point, it may take years to reach a consensus.
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
December 02, 2022, 02:08:28 AM
#10
If most Bitcoin Core nodes enable the option mempoolfullrbf=1 (which is disable by default), the Electrum setting above wont be necessary.
But wallets can still be able to have the option to use RBF or not even if all nodes support full RBF, but just that it won't be like before that some transactions are made on those non recommended wallets that do not support RBF by default and the seed phrase or private key can not be imported on wallet like Electrum to pump the fee because RBF is not opted in for. Just that now, if a wallet do not support it, the transaction fee can be pumped using a wallet that support full RBF through seed phrase importation?

Full RBF is not by default on the Bitcoin Core latest release, many node runners are not miners and may consider the option not necessary.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
December 01, 2022, 10:10:23 PM
#9
I haven't used the wallet before, but I've heard that when you send bitcoins the transaction can be cancelled for a short time.
It mainly depends on the setting: "Tools->Preferences->Transactions->Use Replace-By-Fee".
If it's disabled, the option "cancel (double-spend)" wont show up in the unconfirmed transaction's right-click menu.

On a side note, that behavior might change depending on the Electrum servers and bitcoin node users' decision on "Full RBF" which is already available in the latest version of Bitcoin Core.
If most Bitcoin Core nodes enable the option mempoolfullrbf=1 (which is disable by default), the Electrum setting above wont be necessary.
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
December 01, 2022, 04:44:44 PM
#8
I haven't used the wallet before, but I've heard that when you send bitcoins the transaction can be cancelled for a short time.
Is this really the case?

It doesn't matter how long you've used your wallet. Even the time passed since sending the transaction is not just some fixed minutes, it depends on many factors (from luck to say so, since a block may be mined within seconds from you sending the transaction to even an hour sometimes, to the fee used for the transaction and the number of others' transactions not mined yet).

But more clearer, all that matters is whether a miner has managed to put that transaction of yours into a block or not.
Electrum will show that as confirmations. If (and only if) you have 0 confirmations for your transaction then yes, you may cancel it (meaning to send it to yourself instead of somebody else).
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
December 01, 2022, 01:42:37 PM
#7
A new block is mined on average once every 10 minutes so that's how long it takes for a transaction to be confirmed
Yes. But do not let OP think that it would take 10 minutes for bitcoin transaction to get confirmed, it can take just a minute, 2 minutes, 5 minutes, it can even take more than 10 minutes, 15 or 20 minutes for the next block to be mined, while also the mempool can be so congested to the extent that if low fee is paid, the transaction will not be confirmed for a day, two days, 1 week or more, the transaction can even be dropped and be replaced by the ones with higher fee.
legendary
Activity: 3710
Merit: 1586
December 01, 2022, 01:15:05 PM
#6
You can do that as long as your transaction is unconfirmed. Canceling = replacing your old transaction with a new one that sends the funds back to your address.

Confirmed by the system or by the client?
And how long does it take to confirm?
Thank you in advance!

A new block is mined on average once every 10 minutes so that's how long it takes for a transaction to be confirmed
staff
Activity: 3500
Merit: 6152
December 01, 2022, 12:56:59 PM
#5
Confirmed by the system or by the client?
And how long does it take to confirm?

If by the system you mean the bitcoin network, then yes. The time would depend on how congested the network is, and the fees you paid.
newbie
Activity: 5
Merit: 0
December 01, 2022, 12:49:23 PM
#4
You can do that as long as your transaction is unconfirmed. Canceling = replacing your old transaction with a new one that sends the funds back to your address.

Confirmed by the system or by the client?
And how long does it take to confirm?
Thank you in advance!
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
December 01, 2022, 12:29:03 PM
#3
That is true as OmegaStarScream has already posted about it, but you should know that the transaction would be replaced with a new one with a higher fee and the coin would be sent to an address that belong to you, it also a replace-by-fee transaction just like to pump a transaction with a higher fee.

To be able to do that, you can use wallet like Electrum.
staff
Activity: 3500
Merit: 6152
December 01, 2022, 12:18:02 PM
#2
You can do that as long as your transaction is unconfirmed. Canceling = replacing your old transaction with a new one that sends the funds back to your address.
newbie
Activity: 5
Merit: 0
December 01, 2022, 12:17:06 PM
#1
I haven't used the wallet before, but I've heard that when you send bitcoins the transaction can be cancelled for a short time.
Is this really the case?
Jump to: