com.google.bitcoin.core
Class NotFoundMessage

java.lang.Object
  extended by com.google.bitcoin.core.Message
      extended by com.google.bitcoin.core.ListMessage
          extended by com.google.bitcoin.core.InventoryMessage
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.bitcoin.core.Message
Message.LazyParseException
 
Field Summary
static int MIN_PROTOCOL_VERSION
           
 
Fields inherited from class com.google.bitcoin.core.ListMessage
items, MAX_INVENTORY_ITEMS
 
Fields inherited from class com.google.bitcoin.core.Message
bytes, checksum, cursor, length, MAX_SIZE, offset, params, parsed, parseLazy, parseRetain, protocolVersion, recached, UNKNOWN_LENGTH
 
Constructor Summary
NotFoundMessage(NetworkParameters params)
           
NotFoundMessage(NetworkParameters params, byte[] payloadBytes)
           
NotFoundMessage(NetworkParameters params, List<InventoryItem> items)
           
 
Method Summary
 
Methods inherited from class com.google.bitcoin.core.InventoryMessage
addBlock, addTransaction, with
 
Methods inherited from class com.google.bitcoin.core.ListMessage
addItem, bitcoinSerializeToStream, equals, getItems, parse, parseLite, removeItem
 
Methods inherited from class com.google.bitcoin.core.Message
adjustLength, bitcoinSerialize, bitcoinSerialize, ensureParsed, getHash, getMessageSize, getParams, isCached, isParsed, isRecached, maybeParse, unCache, unsafeBitcoinSerialize
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_PROTOCOL_VERSION

public static int MIN_PROTOCOL_VERSION
Constructor Detail

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.