1

I was inspired by this tweetstorm by John Newberry:

https://twitter.com/jfnewbery/status/927615263058653184

I wanted to reproduce the process using my own calculations.

I have two approaches so far:

  1. Compare the fee rate of my transaction to the median fee rate of all the transactions in the same block.

The is most straightforward solution.

  1. Compare to the 20th percentile fee rate.

By just keeping the 80% highest paying transactions (in terms of fee rate) we ignore the outliers in the bottiom 20%. According to an explanation by John, this is because if there are unconfirmed chains of transactions in the mempool, miners take the average feerate of the chain. Essentially, we do not want to be comparing against these transactions.

Questions I have to improve my process:

  1. How can I be more specific in ignoring irrelevant transactions in the block? How could I deliberately ignore chains of unconfirmed transactions and only track 'singletons'?

  2. Is comparing against the median fee rate a fair comparison to check if I have overpaid?

  3. Does my approach make any sense? Shouldn't I be trying to compare against the mempool when that transaciton was broadcasted, not after? (even if it would be impossible to recreate a mempool)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.