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_SIZEitems, MAX_INVENTORY_ITEMScursor, 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, withaddItem, bitcoinSerializeToStream, equals, getItems, hashCode, parse, removeItem, toStringadjustLength, bitcoinSerialize, bitcoinSerialize, getHash, getMessageSize, getParams, hasMoreBytes, isCached, isRecached, readByte, readByteArray, readBytes, readHash, readInt64, readStr, readUint32, readUint64, readVarInt, readVarInt, setSerializer, unCache, unsafeBitcoinSerializepublic NotFoundMessage(NetworkParameters params)
public NotFoundMessage(NetworkParameters params, byte[] payloadBytes) throws ProtocolException
ProtocolExceptionpublic NotFoundMessage(NetworkParameters params, java.util.List<InventoryItem> items)