Post
Topic
Board Development & Technical Discussion
Merits 29 from 10 users
Re: Doubt about double spending
by
n0nce
on 28/09/2021, 21:37:13 UTC
⭐ Merited by Welsh (8) ,o_e_l_e_o (4) ,hugeblack (4) ,ETFbitcoin (3) ,Csmiami (2) ,pooya87 (2) ,BlackHatCoiner (2) ,vapourminer (2) ,hosseinimr93 (1) ,NotATether (1)
[...]
I know transactions with RBF can be double spent (or accelerated, call it however you like it most), but is there any other way to actually do this? CPFP is a kind of RBF, IIRC; so, if transactions that don't have RBF active can not be double spent, could hypothetically a casino run a node that is able to tell if a transaction has this activated, and in the event of it being negative, instantly credit the money with no confirmations required?
Oh no, please no Cheesy Don't confuse RBF with double-spend! That's totally not the same thing. Double spending is an attack scenario where you spend the same funds twice (like, to 2 different addresses). RBF just allows you to bump the fee to have the transaction be verified quicker.

Transactions without RBF are absolutely also able to be 'double spent', i.e. the double spending attack is just as well possible no matter if you have RBF on or not.

If you don't wait for the transaction to be mined in a block and a few blocks extra, the sender can publish a second transaction coming from the same utxo thus spending their funds twice and fooling you into giving them the according account balance.