Bitcoin Forum
November 15, 2024, 02:57:39 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about bumfee bitcoin core  (Read 152 times)
cryptoworld99 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 22


View Profile
May 09, 2020, 01:59:10 PM
Merited by hugeblack (2)
 #1

Hello,


Just a quick question,

https://bitcoincore.org/en/doc/0.16.0/rpc/wallet/bumpfee/

does bump fee act as a double-spend? since it creates a new transaction ID

Thanks in advance!
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
May 09, 2020, 02:01:28 PM
Merited by ABCbits (1), Heisenberg_Hunter (1)
 #2

Hello,


Just a quick question,

https://bitcoincore.org/en/doc/0.16.0/rpc/wallet/bumpfee/

does bump fee act as a double-spend? since it creates a new transaction ID

Thanks in advance!
Yes, it spends the same outputs, but due to the RBF flag most nodes will see this as intended behaviour and thus "allow" it.

RBF also allows you to spend the same outputs to other "addresses" much easier, which is why 0-conf services (casino's) will usually only accept non-RBF transaction to be eligible. (to prevent the "double-spending" of unconfirmed transactions.)

ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
May 09, 2020, 02:02:15 PM
 #3

Only transaction that has Optin RBF flag can use that feature to increase their fee. The function will create a new transaction which spends the same inputs. In a sense, it is considered double spending.

However, the inputs are realistically never spent twice since only either of the two transactions will make it into a block and thus stored on the blockchain. Thus, by definition, it is not a double spend since the blockchain will only have the inputs being spent once. This is what blockchain is designed to prevent. Unconfirmed transactions with opt-in RBF are never considered secure due to their ease of replacing.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
cryptoworld99 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 22


View Profile
May 10, 2020, 12:13:58 PM
 #4

RBF also allows you to spend the same outputs to other "addresses" much easier, which is why 0-conf services (casino's) will usually only accept non-RBF transaction to be eligible. (to prevent the "double-spending" of unconfirmed transactions.)

Take note that whether you enable RBF/not is only one reason when someone accept transaction with 0-conf. Few services sometimes also have minimum transactoin fee (to ensure the transaction can be confirmed) and upper limit of amount that can be accepted for 0-conf.


Thank you! I understand how this works now Smiley
Pages: [1]
  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!