What is `modifiedfee` in mempool dump, how is it related to actual fee?

1

In mempool dump through getrawmempool true, I see something called modifiedfee.

It seems to be the same in all cases (just by looking at the dump). What exactly is it, how does it relate to fee (that is also present)?

The help says

(numeric) transaction fee with fee deltas used for mining priority

but that is not very helpful; that just seems like normal fee.

edit: I went trough the file by iterating over the dump, and modifiedfee and fee are indeed the same on all the transactions.

Karel Bílek

Posted 2017-10-04T20:54:22.360

Reputation: 2 197

Answers

1

It is related to the prioritisetransaction RPC, which changes what fee a transaction has for the purpose of inclusion in blocks.

If you never use prioritisetransaction, the modified fee will always be equal to the real fee.

Pieter Wuille

Posted 2017-10-04T20:54:22.360

Reputation: 54 032

Oh thanks! I thought it relates to either RBF or CPFP! :)Karel Bílek 2017-10-04T22:19:55.407