com.google.bitcoin.core
Class TransactionOutPoint

java.lang.Object
  extended by com.google.bitcoin.core.Message
      extended by com.google.bitcoin.core.TransactionOutPoint
All Implemented Interfaces:
Serializable

public class TransactionOutPoint
extends Message
implements Serializable

This message is a reference or pointer to an output of a different transaction.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.bitcoin.core.Message
bytes, cursor, MAX_SIZE, offset, params, protocolVersion
 
Constructor Summary
TransactionOutPoint(NetworkParameters params, byte[] payload, int offset)
          Deserializes the message.
 
Method Summary
 void bitcoinSerializeToStream(OutputStream stream)
          Serializes this message to the provided stream.
 
Methods inherited from class com.google.bitcoin.core.Message
bitcoinSerialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionOutPoint

public TransactionOutPoint(NetworkParameters params,
                           byte[] payload,
                           int offset)
                    throws ProtocolException
Deserializes the message. This is usually part of a transaction message.

Throws:
ProtocolException
Method Detail

bitcoinSerializeToStream

public void bitcoinSerializeToStream(OutputStream stream)
                              throws IOException
Description copied from class: Message
Serializes this message to the provided stream. If you just want the raw bytes use bitcoinSerialize().

Throws:
IOException


Copyright © 2011. All Rights Reserved.