com.google.bitcoin.core
Class NotFoundMessage
java.lang.Object
com.google.bitcoin.core.Message
com.google.bitcoin.core.ListMessage
com.google.bitcoin.core.InventoryMessage
com.google.bitcoin.core.NotFoundMessage
- All Implemented Interfaces:
- Serializable
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.
- See Also:
- Serialized Form
| Fields inherited from class com.google.bitcoin.core.Message |
bytes, checksum, cursor, length, MAX_SIZE, offset, params, parsed, parseLazy, parseRetain, protocolVersion, recached, UNKNOWN_LENGTH |
| Methods inherited from class com.google.bitcoin.core.Message |
adjustLength, bitcoinSerialize, bitcoinSerialize, ensureParsed, getHash, getMessageSize, getParams, isCached, isParsed, isRecached, maybeParse, unCache, unsafeBitcoinSerialize |
MIN_PROTOCOL_VERSION
public static int MIN_PROTOCOL_VERSION
NotFoundMessage
public NotFoundMessage(NetworkParameters params)
NotFoundMessage
public NotFoundMessage(NetworkParameters params,
byte[] payloadBytes)
throws ProtocolException
- Throws:
ProtocolException
NotFoundMessage
public NotFoundMessage(NetworkParameters params,
List<InventoryItem> items)
Copyright © 2014. All rights reserved.