MetacoSA / NBitcoin

Comprehensive Bitcoin library for the .NET framework.
MIT License
1.87k stars 846 forks source link

Support for `wtxidrelay` message #1160

Closed torx-cz closed 1 year ago

torx-cz commented 1 year ago

Bitcoin Core uses WTXID-based transaction relaying described in BIP339. Support for this WTXID relaying is signalized during handshake (between version and verack messages) sending wtxidrelay message (without any payload).

I suggest to add wtxidrelay message into supported Payloads.

NOTE: The decisions based on receiving this massage, do not have to be implemented yet because it is only signaling message.