public class NotFoundMessage extends InventoryMessage
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.
Modifier and Type | Field and Description |
---|---|
static int |
MIN_PROTOCOL_VERSION |
MAX_INV_SIZE
items, MAX_INVENTORY_ITEMS
cursor, length, MAX_SIZE, offset, params, payload, recached, serializer, UNKNOWN_LENGTH
Constructor and Description |
---|
NotFoundMessage(NetworkParameters params) |
NotFoundMessage(NetworkParameters params,
byte[] payloadBytes) |
NotFoundMessage(NetworkParameters params,
java.util.List<InventoryItem> items) |
addBlock, addTransaction, with
addItem, bitcoinSerializeToStream, equals, getItems, hashCode, parse, removeItem, toString
adjustLength, bitcoinSerialize, bitcoinSerialize, getHash, getMessageSize, getParams, hasMoreBytes, isCached, isRecached, readByte, readByteArray, readBytes, readHash, readInt64, readStr, readUint32, readUint64, readVarInt, readVarInt, setSerializer, unCache, unsafeBitcoinSerialize
public NotFoundMessage(NetworkParameters params)
public NotFoundMessage(NetworkParameters params, byte[] payloadBytes) throws ProtocolException
ProtocolException
public NotFoundMessage(NetworkParameters params, java.util.List<InventoryItem> items)