Comments (7)
This code suggests it does, but I haven't tested:
estimatesmartfee
rpc defaults to conservative, even if all the wallet stuff defaults to economical via defaulting to rbf-enabled.
(#10589 might be worth looking at for context)
from bitcoin.
Another option would be to have a config for default estimate mode but in that case also the default should be "ECONOMICAL" and not "CONSERVATIVE"
from bitcoin.
Therefore, I suggest changing the default fee estimation mode to "ECONOMICAL" in the following RPCs
Unfortunately even "economic" mode still overestimate so changing default mode to "economic" does not fix this issue.
There is an ongoing effort "see delving post" where contributors are discussing the challenges of CBlockPolicyEstimator
which is the fee estimation strategy used by all those RPC's.
Yes this is a known issue and there is a work in progress to resolve it.
from bitcoin.
Unfortunately even "economic" mode still overestimate so changing default mode to "economic" does not fix this issue.
Maybe it does not fix it all together, but it makes it overestimate less.
The difference between ECONOMICAL and CONSERVATIVE for a confirmation target of 2 to 12 blocks is HUGE (by a factor of 7)
Here is recent data from our node with a confirmation target of 2 blocks
ECONOMICAL: 0.00020106
CONSERVATIVE: 0.00141359
The CONSERVATIVE mode uses the long stats for the 95% confirmation target, they have a half-time of 1008 blocks!
Any spike in fees and number transaction will get into the long stats and decay only very very slowly.
from bitcoin.
Agreed that switching to economical is not a long-term fix for fee estimation, but it's still a notable improvement. Implementing this change would likely lead to a very noticeable reduction in fees paid by Bitcoin Core users, and users of Bitcoin Core fee estimation, and Bitcoin users as a whole.
To give an idea of how much this affects a business which does a lot of Bitcoin transaction, we actually created software that will pull the recomended fees from the mempool api and we feed that to Bitcoin Core as feerate instead of using the confirmation target.
Not everybody has the technical capacity to do that, switching to economical as default would provide much needed relief without any additional complexity added to the fee estimation algorithm.
from bitcoin.
Willing to create a PR for this if desired!
from bitcoin.
Are you sure this isn't already happening?
This code suggests it does, but I haven't tested:
Lines 52 to 53 in 9d1a286
cc @achow101
from bitcoin.
Related Issues (20)
- build: Unaligned libsecp256k1 flags in debug builds HOT 1
- . HOT 1
- ci: msan use-of-uninitialized-value when -jobs=1
- libxcb-xinerama0 Library required by bitcoin-qt HOT 7
- decoderawtransaction should use hex or decimal, not both HOT 2
- Load PSBT error: Unable to decode PSBT HOT 3
- RPC: Internal bug in `walletprocesspsbt` when non_witness_utxo is not provided and a witness signature is invalid
- .
- .
- contrib/signet/miner: miner won't consider --nbits parameter HOT 12
- Newer libevent causes `http_request` fuzz target failure HOT 9
- contrib/signet/miner: grind will fail for high difficulty chain HOT 5
- . HOT 1
- .
- Restore wallet taking forever to load HOT 2
- stringop-overflow warning with GCC 14 HOT 4
- Wrong block mined time in testnet HOT 1
- .
- dumpprivkey error HOT 2
- dumpprivkey error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoin.