Package org.bitcoinj.core
Class NotFoundMessage
java.lang.Object
org.bitcoinj.core.Message
org.bitcoinj.core.ListMessage
org.bitcoinj.core.InventoryMessage
org.bitcoinj.core.NotFoundMessage
Sent by a peer when a getdata request doesn't find the requested data in the mempool. It has the same format as an inventory message and lists the hashes of the missing items.
Instances of this class are not safe for use by multiple threads.
-
Field Summary
Fields inherited from class org.bitcoinj.core.InventoryMessage
MAX_INV_SIZE
Fields inherited from class org.bitcoinj.core.ListMessage
items, MAX_INVENTORY_ITEMS
Fields inherited from class org.bitcoinj.core.Message
cursor, length, MAX_SIZE, offset, params, payload, recached, serializer, UNKNOWN_LENGTH
-
Constructor Summary
ConstructorDescriptionNotFoundMessage
(NetworkParameters params) NotFoundMessage
(NetworkParameters params, byte[] payloadBytes) NotFoundMessage
(NetworkParameters params, List<InventoryItem> items) -
Method Summary
Methods inherited from class org.bitcoinj.core.InventoryMessage
addBlock, addTransaction, with
Methods inherited from class org.bitcoinj.core.ListMessage
addItem, bitcoinSerializeToStream, equals, getItems, hashCode, parse, removeItem, toString
Methods inherited from class org.bitcoinj.core.Message
adjustLength, bitcoinSerialize, bitcoinSerialize, getHash, getMessageSize, getParams, hasMoreBytes, isCached, isRecached, readByte, readByteArray, readBytes, readHash, readInt64, readStr, readUint32, readUint64, readVarInt, readVarInt, setSerializer, unCache, unsafeBitcoinSerialize
-
Field Details
-
MIN_PROTOCOL_VERSION
public static int MIN_PROTOCOL_VERSION
-
-
Constructor Details
-
NotFoundMessage
-
NotFoundMessage
- Throws:
ProtocolException
-
NotFoundMessage
-