public class GetHeadersMessage extends GetBlocksMessage
Message.LazyParseException
locator, stopHash, version
checksum, cursor, length, MAX_SIZE, offset, params, parsed, parseLazy, parseRetain, payload, protocolVersion, recached, UNKNOWN_LENGTH
Constructor and Description |
---|
GetHeadersMessage(NetworkParameters params,
byte[] payload) |
GetHeadersMessage(NetworkParameters params,
List<Sha256Hash> locator,
Sha256Hash stopHash) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares two getheaders messages.
|
int |
hashCode() |
String |
toString() |
bitcoinSerializeToStream, getLocator, getStopHash, parse, parseLite
adjustLength, bitcoinSerialize, bitcoinSerialize, ensureParsed, getHash, getMessageSize, getParams, isCached, isParsed, isRecached, maybeParse, unCache, unsafeBitcoinSerialize
public GetHeadersMessage(NetworkParameters params, List<Sha256Hash> locator, Sha256Hash stopHash)
public GetHeadersMessage(NetworkParameters params, byte[] payload) throws ProtocolException
ProtocolException
public String toString()
toString
in class GetBlocksMessage
public boolean equals(Object o)
equals
in class GetBlocksMessage
public int hashCode()
hashCode
in class GetBlocksMessage
Copyright © 2014. All rights reserved.