Class FeeFilterMessage


  • public class FeeFilterMessage
    extends Message

    Represents an "feefilter" message on the P2P network, which instructs a peer to filter transaction invs for transactions that fall below the feerate provided.

    See BIP133 for details.

    Instances of this class are not safe for use by multiple threads.

    • Method Detail

      • bitcoinSerializeToStream

        protected void bitcoinSerializeToStream​(java.io.OutputStream stream)
                                         throws java.io.IOException
        Description copied from class: Message
        Serializes this message to the provided stream. If you just want the raw bytes use bitcoinSerialize().
        Overrides:
        bitcoinSerializeToStream in class Message
        Throws:
        java.io.IOException
      • getFeeRate

        public Coin getFeeRate()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object