com.google.bitcoin.core
Class TransactionOutputChanges
java.lang.Object
com.google.bitcoin.core.TransactionOutputChanges
public class TransactionOutputChanges
- extends Object
TransactionOutputChanges represents a delta to the set of unspent outputs. It used as a return value for
AbstractBlockChain.connectTransactions(int, Block). It contains the full list of transaction outputs created
and spent in a block. It DOES contain outputs created that were spent later in the block, as those are needed for
BIP30 (no duplicate txid creation if the previous one was not fully spent prior to this block) verification.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
txOutsCreated
public final List<StoredTransactionOutput> txOutsCreated
txOutsSpent
public final List<StoredTransactionOutput> txOutsSpent
TransactionOutputChanges
public TransactionOutputChanges(List<StoredTransactionOutput> txOutsCreated,
List<StoredTransactionOutput> txOutsSpent)
TransactionOutputChanges
public TransactionOutputChanges(InputStream in)
throws IOException
- Throws:
IOException
serializeToStream
public void serializeToStream(OutputStream bos)
throws IOException
- Throws:
IOException
Copyright © 2014. All rights reserved.