Bitcoin Forum
May 07, 2024, 01:49:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Core: Can't customize RBF fee increase?  (Read 233 times)
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
May 17, 2018, 05:15:46 PM
 #1

The "increase transaction fee" option doesn't offer a way to customize the new fee.
How come, and how's the automatic new fee calculated?


1715089761
Hero Member
*
Offline Offline

Posts: 1715089761

View Profile Personal Message (Offline)

Ignore
1715089761
Reply with quote  #2

1715089761
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715089761
Hero Member
*
Offline Offline

Posts: 1715089761

View Profile Personal Message (Offline)

Ignore
1715089761
Reply with quote  #2

1715089761
Report to moderator
Anycoin Direct Support
Member
**
Offline Offline

Activity: 106
Merit: 13

https://anycoindirect.eu


View Profile WWW
May 18, 2018, 10:13:27 AM
 #2

Hello jnano,

To overcome the problem you are referring to you could press the increase transaction fee as many times as you like. In this way you can make sure the transaction will definitely get confirmed within a short amount of time. Of course this is a work-around to the issue you are addressing rather than a fix. Therefore we suggest that you use one of the following methods.

Go to your list of transactions, right click your transaction and choose abandon transaction. Now you can send the btc again with via the send menu with the fee of your liking.

If you cannot abandon the transaction, you could go to the datadir and delete the mempool.dat file when you restart your wallet you should be able to abandon and resend the transaction. 

If both these methods don't work start the Bitcoin core wallet again and use the -zapwallettxes- option to clear your unconfirmed transactions and resend the coins with a fee of your liking.

Hopefully this will help speed your transaction along.

With kind regards,
The Anycoin Direct team       

Helping the crypto-community. Anycoin Direct
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
May 18, 2018, 02:03:04 PM
 #3

Thanks.

Is "abandon transaction", then a manual resend, really the same as the action performed by "increase transaction fee"?

Using "increase" multiple doesn't really let you customize the fee. I think it would also spam the mempool with a rapid succession of conflicting transactions?
Anycoin Direct Support
Member
**
Offline Offline

Activity: 106
Merit: 13

https://anycoindirect.eu


View Profile WWW
May 18, 2018, 02:58:34 PM
 #4

Thanks.

Is "abandon transaction", then a manual resend, really the same as the action performed by "increase transaction fee"?

Using "increase" multiple doesn't really let you customize the fee. I think it would also spam the mempool with a rapid succession of conflicting transactions?


You are correct it is not the same, as mentioned before it is a work-around and not a fix to your problem. However, by manually abandoning transaction and resending the order you will have the highest amount of customizability.

Helping the crypto-community. Anycoin Direct
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
May 18, 2018, 07:30:23 PM
 #5

Is "abandon transaction", then a manual resend, really the same as the action performed by "increase transaction fee"?
not exactly, "abandon then resend" will work smoothly only if your original tx has not been broadcasted widely
your new tx will be rejected by nodes that still have your original tx in their mempools

to make use RBF, your original tx must have already signal (opt-in) RBF in the first place
read this for detailed reference https://bitcoin.org/en/developer-reference#bumpfee

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 19, 2018, 01:04:01 AM
Merited by TryNinja (1)
 #6

Using "increase" multiple doesn't really let you customize the fee. I think it would also spam the mempool with a rapid succession of conflicting transactions?
No... that is the whole point of "Replace-By-Fee".

If your original transaction is marked as RBF... then nodes that support RBF will simply drop your original transaction, when they receive the replacement transaction.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
May 19, 2018, 01:50:57 AM
 #7

I know that's the "replace" in RBF, but I'm not sure what happens when you abandon+resend, as opposed to just using "increase".

The original had the RBF flag set, otherwise "increase transaction fee" wouldn't be available.

My guess is that the automatic fee for "increase" is similar to what you'd get doing an initial send using a "recommended" fee with a small number of blocks for "confirmation time target".

And still I'm curious, why no way to customize the fee?
DarkStar_
Legendary
*
Offline Offline

Activity: 2758
Merit: 3282


View Profile WWW
May 19, 2018, 02:48:43 AM
 #8

And still I'm curious, why no way to customize the fee?

It's doable, but not in the GUI. See this if you're using Bitcoin Core. It's a limitation of the program and not the RBF protocol.

taking a break - expect delayed responses
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
May 19, 2018, 03:03:02 AM
Last edit: May 19, 2018, 03:15:23 AM by jnano
 #9

Yeah, I supposed it's just a GUI issue. Thanks for finding it on GitHub.

Looks like the GUI just uses bumpfee in its default mode, which says:
Quote
By default, the new fee will be calculated automatically using estimatefee.

According to the docs here the estimation defaults to targeting the next 6 blocks.

It's always a surprise how incomplete Core's GUI is after all these years.

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 19, 2018, 03:26:04 AM
 #10

I know that's the "replace" in RBF, but I'm not sure what happens when you abandon+resend, as opposed to just using "increase".
Abandon simply marks the transaction as abandoned in YOUR wallet and drops it from your local mempool.

The end result being that your wallet will "free up" the coins internally and allow you to re-spend them. However, it has NO effect on other nodes or their mempools. So, there is no guarantee that you will in fact be able to re-spend those coins, as most nodes are likely to reject any new transaction as a conflicting "double-spend". Especially since the default "mempool expiry" time was pushed out to 14 days. Obviously, if the mempool expiry time has passed and the node has already dropped your old transaction, then it should accept your new one.

Without RBF (Abandon/Resend):
A node sees your new transaction, identifies it as a "double-spend" and rejects it/refuses to relay it. Your original low-fee transaction remains in the node's mempool

With RBF:
A node sees your new transaction, identifies it as an "RBF", drops the original low-fee transaction and replaces is with your new higher-fee transaction.


It's always a surprise how incomplete Core's GUI is after all these years.
I always get the feeling that the focus is on implementing features and bugfixes within bitcoind. Whether or not BitcoinQt is able to utilise these features is a different kettle of fish.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
May 19, 2018, 09:32:06 PM
 #11

But it's abandon-resend of an RBF tx.

If the change address ends up being different then I guess it will be considered a double-spend. But if after "abandon" the change address is freed and will be reused for the next tx, when sending the same UTXOs to the same recepient wouldn't it effective be the same as an "increase" tx?

Whatever the reason for Core's GUI deficiencies, it's unfortunate. There are a lot of low-hanging fruits.

bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
May 20, 2018, 11:30:30 AM
 #12

If the change address ends up being different then I guess it will be considered a double-spend.

Yes, thats correct. At least as a double-spend attempt.



But if after "abandon" the change address is freed and will be reused for the next tx, when sending the same UTXOs to the same recepient wouldn't it effective be the same as an "increase" tx?

Yes.
A RBF-transaction is basically a double-spend transaction which uses the same UTXO from previous tx (additional UTXO's are allowed) to the same recipient with a higher fee.

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!