Bitcoin Forum
May 04, 2024, 04:21:31 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Batch RBF transactions (Electrum)  (Read 194 times)
Robot1982 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 16


View Profile
October 31, 2019, 01:30:57 PM
 #1

Does somebody know what this settings does? I know what RBF means, but I don't know what this "batching" means or how it works. Can somebody please explain this? Or is this documented somewhere? Thanks!
1714839691
Hero Member
*
Offline Offline

Posts: 1714839691

View Profile Personal Message (Offline)

Ignore
1714839691
Reply with quote  #2

1714839691
Report to moderator
1714839691
Hero Member
*
Offline Offline

Posts: 1714839691

View Profile Personal Message (Offline)

Ignore
1714839691
Reply with quote  #2

1714839691
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714839691
Hero Member
*
Offline Offline

Posts: 1714839691

View Profile Personal Message (Offline)

Ignore
1714839691
Reply with quote  #2

1714839691
Report to moderator
1714839691
Hero Member
*
Offline Offline

Posts: 1714839691

View Profile Personal Message (Offline)

Ignore
1714839691
Reply with quote  #2

1714839691
Report to moderator
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
October 31, 2019, 01:36:34 PM
Merited by Abdussamad (2), IeSua (1)
 #2

Does somebody know what this settings does? I know what RBF means, but I don't know what this "batching" means or how it works. Can somebody please explain this? Or is this documented somewhere? Thanks!

If the transaction hasn't been confirmed yet and you decided to create another transaction then instead of two separate transactions you would have one transaction with the inputs and outputs of both transactions. This feature lets you save a little on the fees.
Robot1982 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 16


View Profile
October 31, 2019, 01:44:43 PM
 #3

Is this done automatically when I create the second transaction? Does it mean that whatever fee I choose for the second transaction will be actually for both transactions? I have to test this.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
October 31, 2019, 01:51:22 PM
Last edit: October 31, 2019, 04:37:22 PM by BitCryptex
 #4

Is this done automatically when I create the second transaction? Does it mean that whatever fee I choose for the second transaction will be actually for both transactions?

It happens automatically if you turn on RBF and RBF Batching before sending the first transaction. I'm not sure about the final fee but I guess the second transaction overrides it.

Down: That's a given. I have no idea why I was overthinking it.
khaled0111
Legendary
*
Offline Offline

Activity: 2520
Merit: 2853


Top Crypto Casino


View Profile WWW
October 31, 2019, 04:25:22 PM
Merited by Rath_ (1)
 #5

I'm not sure about the final fee but I guess the second transaction overrides it.
Logically the second transaction must pay more fees, otherwise miners will pick the first one from the mempool. So yes. Second transaction fees will be applied.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Robot1982 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 16


View Profile
November 01, 2019, 01:55:16 PM
 #6

Logically the second transaction must pay more fees, otherwise miners will pick the first one from the mempool.
This can be a problem if the miners pick the first transaction (for example if the second transaction has the same fee (sat/byte) or for some other reason), then the second transaction is not valid anymore and it will fail and you have to redo the second transaction. If you want to make sure that this doesn't happen, then you have to set a higher fee for the second transaction which will negate the benefit that the "batch RBF transactions" has in the first place (save some fees). This may still work if you only slightly increase the fee for the second transaction but still you cannot be sure that this transaction will be confirmed first.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
November 01, 2019, 02:52:54 PM
 #7

-snip- This may still work if you only slightly increase the fee for the second transaction but still you cannot be sure that this transaction will be confirmed first.
Don't you worry, Electrum implemented RBF with accordance to the rules (wiki) otherwise, RBF transactions won't be accepted by the server (nodes) to begin with.
(except in some cases: bug)

Without clicking the link, #2 in the list indicates that the replacement transaction should pay additional fee of at least the minimum tx fee based from its 1sat/B fee rate,
ex: If the new RBF tx is 295bytes, then it must pay at least 295sat higher than the original tx; same with batching, but the minimum additional fee will be based from the batched tx.

TL;DR: You'll never be able to create a replacement TX with lower fees as it will be rejected by nodes.

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

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

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

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

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

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











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











▄▄▄▄█
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!