delvingbitcoin

Combined summary - Package aware Fee estimator post cluster mempool

Combined summary - Package aware Fee estimator post cluster mempool

Blockchain transaction fee estimation is a complex process that aims to accurately predict confirmation times based on fee rates.

The current estimation system faces challenges from inaccuracies caused by ignoring transactions with unconfirmed parents and assuming confirmations are due solely to fee rates. It has been suggested that if adequate data can be obtained from standalone transactions in the mempool, these could provide reasonable fee estimates without considering every transaction's specific confirmation cause.

There is an approach where tracking only transactions without in-mempool descendants may currently suffice but could change with an increase in package transactions. To manage the complexities of transaction fee estimation, transactions are segmented into chunks with assigned feerates based on processing time. A timestamp-based system adjusts chunk feerates throughout the day, emphasizing the importance of using the latest update time for mempool duration.

MapMempoolTxs plays a crucial role by measuring the time transactions spend in the mempool, providing insights into transaction evaluation and prioritization. Furthermore, in scenarios involving Child Pays For Parent (CPFP) and Replace-By-Fee (RBF), it is recommended to consider the fee rate and mempool duration of the youngest transaction in a chunk for accurate estimations.

The email proposes examining each transaction's chunk feerate individually to optimize validation and scalability. Upon the arrival of a new block, it suggests removing matched chunks from consideration and updating the fee estimator with evictions, accepting mismatches due to different mempool compositions.

Finally, the CBlockPolicyEstimator is being designed to improve accuracy in predicting transaction confirmations. To address its limitations, there is a proposal to use a "chunk mining score" that updates each transaction's potential for mining upon entry into the mempool and when it improves. This score guides the estimator in disregarding non-tracked transactions as failures and evaluating successes based on the sponsor transaction within a chunk. This novel tracking method might enhance the precision of the CBlockPolicyEstimator's forecasts.

Discussion History

0
ismaelsadeeq Original Post
December 20, 2023 21:38 UTC
1
December 21, 2023 11:11 UTC
2
December 22, 2023 19:37 UTC
3
December 23, 2023 11:10 UTC
4
December 23, 2023 14:25 UTC
5
December 24, 2023 11:14 UTC
6
December 24, 2023 13:22 UTC
7
December 25, 2023 10:42 UTC
8
December 25, 2023 12:25 UTC
9
February 8, 2024 15:24 UTC