Package org.bitcoinj.core
Class MemoryPoolMessage
- java.lang.Object
-
- org.bitcoinj.core.BaseMessage
-
- org.bitcoinj.core.EmptyMessage
-
- org.bitcoinj.core.MemoryPoolMessage
-
- All Implemented Interfaces:
Message
public class MemoryPoolMessage extends EmptyMessage
The "mempool" message asks a remote peer to announce all transactions in its memory pool, possibly restricted by any Bloom filter set on the connection. The list of transaction hashes comes back in an inv message. Note that this is different to the
TxConfidenceTable
object which doesn't try to keep track of all pending transactions, it's just a holding area for transactions that a part of the app may find interesting. The mempool message has no fields.Instances of this class are not safe for use by multiple threads.
-
-
Constructor Summary
Constructors Constructor Description MemoryPoolMessage()
-
Method Summary
-
Methods inherited from class org.bitcoinj.core.EmptyMessage
bitcoinSerializeToStream, messageSize
-
Methods inherited from class org.bitcoinj.core.BaseMessage
serialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bitcoinj.core.Message
bitcoinSerialize, getMessageSize, unsafeBitcoinSerialize
-
-