public class UTXOsMessage extends Message
Message.LazyParseException
Modifier and Type | Field and Description |
---|---|
static long |
MEMPOOL_HEIGHT
This is a special sentinel value that can appear in the heights field if the given tx is in the mempool.
|
checksum, cursor, length, MAX_SIZE, offset, params, parsed, parseLazy, parseRetain, payload, protocolVersion, recached, UNKNOWN_LENGTH
Constructor and Description |
---|
UTXOsMessage(NetworkParameters params,
byte[] payloadBytes) |
UTXOsMessage(NetworkParameters params,
List<TransactionOutput> outputs,
long[] heights,
Sha256Hash chainHead,
long height)
Provide an array of output objects, with nulls indicating that the output was missing.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long[] |
getHeights() |
byte[] |
getHitMap() |
List<TransactionOutput> |
getOutputs() |
int |
hashCode() |
protected void |
parseLite()
Perform the most minimal parse possible to calculate the length of the message payload.
|
String |
toString() |
adjustLength, bitcoinSerialize, bitcoinSerialize, ensureParsed, getHash, getMessageSize, getParams, isCached, isParsed, isRecached, maybeParse, unCache, unsafeBitcoinSerialize
public static long MEMPOOL_HEIGHT
public UTXOsMessage(NetworkParameters params, byte[] payloadBytes)
public UTXOsMessage(NetworkParameters params, List<TransactionOutput> outputs, long[] heights, Sha256Hash chainHead, long height)
protected void parseLite() throws ProtocolException
Message
parseLite
in class Message
ProtocolException
public byte[] getHitMap()
public List<TransactionOutput> getOutputs()
public long[] getHeights()
Copyright © 2014. All rights reserved.