Support for `feefilter` message
torx-cz opened this issue · comments
I would like to use (de)serialization of NBitcoin library for feefilter
message. However I found out, that it is not present in supported messages (no FeeFilterPayload
type) in NBitcoin. So I suggest to add support for feefilter
message.
FeeFilter message was added in Bitcoin Core 0.13 (protocol 70013) and is described in BIP133.
Quote from BIP133 specification:
- Upon receipt of a "feefilter" message, the node will be permitted, but not required, to filter transaction invs for transactions that fall below the feerate provided in the feefilter message interpreted as satoshis per kilobyte.
So from point of view of implementation, it seems pretty straightforward - we do not need to implement real filtering of TX to send.
I can make PR, if you are also interested in this feature.
@vlada-cz yes, I am interested in a PR for that!