Questions about deriving the right amount of fees to add to your transaction.
Questions tagged [fee-estimation]
53 questions
5
votes
1 answer
Where can I find a survey on different fee estimation algorithms?
I am looking for a comparison or summary of different fee estimation algorithms. Does anyone know of one? I would like to see what the best starting point is in order to see where optimization can be done.
From a cursory search, there is…
mango
- 341
- 1
- 4
5
votes
3 answers
How do you reliably estimate mining fees?
I'm asking this question because sites seem to yield widely different estimates.
For instance, if I want a transaction to be accepted within 6 blocks, this is what I currently have to pay according to various calculators:
https://bitcoinfees.net -…
Pascal Bergeron
- 207
- 1
- 5
5
votes
1 answer
Bitcoin core's estimatesmartfee error "Insufficient data or no feerate found" with synced node
I'm running bitcoin core version 0.17.0 on the Testnet and since yesterday, I've been experiencing problems with the RPC estimatesmartfee. I'm getting as a response:
"errors": "Insufficient data or no feerate found"
The output of getblockcount is…
Lelo
- 185
- 5
5
votes
1 answer
Why does the Segwit developer guide recommend to estimate fees on basis of vsize instead of weight?
The Segwit Wallet Development Guide has a small section on fee estimation:
Transaction Fee Estimation
Instead of transaction size, a new metric is defined, called “virtual size” (vsize)
vsize of a transaction equals to 3 times of the size with…
Murch
- 71,155
- 33
- 180
- 600
4
votes
2 answers
-fallbackfee option in sendtoaddress
I'm trying to send some bitcoins using bitcoin-cli API, but bitcoin core tells me that Fallbackfee is disabled. How can I set a value for fallbackfee?
I've tried to specify it like
bitcoin-cli sendtoaddress -fallbackfee=someValue but it didn't…
dc_Bita98
- 394
- 3
- 14
3
votes
1 answer
Can pruned nodes perform fee estimation?
The fee estimation in Bitcoin Core is based on the previous blocks. Since the minimum pruning size for pruned nodes is 550 MB, a pruned node may actually not have the last 1,000 blocks, which is the largest fee estimation interval. Can a pruned node…
Murch
- 71,155
- 33
- 180
- 600
3
votes
1 answer
Given a bitcoin block, what's the easiest way to determine the minimum net fee rate (including ancestors) for transactions in that block?
Given a bitcoin block, what's the easiest way to determine the minimum net fee rate (including ancestors) for transactions in that block?
A naive approach would be to just find the minimum fee rate for a single transaction, but that does not take…
deezy
- 301
- 1
- 6
3
votes
1 answer
How can I set a fixed fee sufficient for transaction success in bitcoind?
I used to use sendtoaddress with bitcoind and a fixed 0.0001 btc transaction fee in the wallet UI to do the job and every transaction was sent without any problems.
Since version v0.12.0 I can see that the fee is not fixed, plus some transactions…
Haddar Macdasi
- 978
- 1
- 14
- 22
2
votes
1 answer
Estimated Fees in BCOIN
I installed a BCOIN full node and I would like to calculate estimated fees for Bitcoin transactions.
This functionality works perfectly in the CLI. For example:
bcoin-cli fee 3
Anyway things go wrong when I use the JS api inside my express client…
Mario Mazzola
- 79
- 7
2
votes
1 answer
Do I have to pay Fees on the Lightning Network if there is a Payment Failure?
Lightning nodes are talking fees for routing a payment. Will fees be charged anyway if a payment fails?
Stefano Angieri
- 155
- 8
2
votes
2 answers
How is proper fee rate got on Bitcoin Cash
I'm developing wallet system trading BTC, BCH and so on.
In BTC, I'm using estimatesmartfee API to calculate by transaction size and relayfee to guarantee minimum fee and it works well.
In BCH, though most of logic is same as BTC except…
Harry
- 133
- 3
2
votes
1 answer
Estimate Fee returning -1
I updated the bitcoin node to version to 140200 on top of which one of my applications was running. There wasn't any issue with the flow of the application estimatefee RPC I get -1 for no matter what I give as the number of blocks. Also the…
Shabahat M. Ayubi
- 1,479
- 10
- 25
2
votes
1 answer
What fee is the starting point of the closing fee negotiation?
When I issue the command lightning-cli listpeers $peerid i get a feerate perkb of 1012 atm. What feerate is this exactly? Is this the feerate which will be proposed by the other peer for a mutual close? I don't think this is the case.
feerate: An…
user112185
2
votes
2 answers
Setting the fee rate on regtest, or, quickly generating full blocks
I'm setting up some automated testing for a lightning wallet. At the heart of my tests is a bitcoind instance running in regtest mode. I need to be able to set the fee rate - both the fee rate reported by estimatesmartfee and the fee rate which…
Shum
- 121
- 1
1
vote
1 answer
What are fee_method and fee_level in Electrum's getfeerate RPC call?
I couldn't find any documentation on this.
I found that the options for fee_method are eta, static and mempool by reading the source code. But it's still not clear to me how fee_level relates to the fee_method, does it have something to do with…
Kyle
- 166
- 5