Bitcoin Forum
May 02, 2024, 03:05:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Canceling a transaction  (Read 317 times)
hosseinimr93
Legendary
*
Online Online

Activity: 2380
Merit: 5235



View Profile
December 03, 2022, 06: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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
1714619138
Hero Member
*
Offline Offline

Posts: 1714619138

View Profile Personal Message (Offline)

Ignore
1714619138
Reply with quote  #2

1714619138
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714619138
Hero Member
*
Offline Offline

Posts: 1714619138

View Profile Personal Message (Offline)

Ignore
1714619138
Reply with quote  #2

1714619138
Report to moderator
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
December 04, 2022, 07: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.
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2955


Block halving is coming.


View Profile WWW
December 04, 2022, 02:16:44 PM
 #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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7124



View Profile
December 04, 2022, 05: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.     

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
December 04, 2022, 05:37:25 PM
Merited by Pmalek (1)
 #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.
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7124



View Profile
December 05, 2022, 07: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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4833



View Profile
December 05, 2022, 08: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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
December 05, 2022, 09: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.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!