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.
Modifier and Type | Field and Description |
---|---|
List<StoredTransactionOutput> |
txOutsCreated |
List<StoredTransactionOutput> |
txOutsSpent |
Constructor and Description |
---|
TransactionOutputChanges(InputStream in) |
TransactionOutputChanges(List<StoredTransactionOutput> txOutsCreated,
List<StoredTransactionOutput> txOutsSpent) |
public final List<StoredTransactionOutput> txOutsCreated
public final List<StoredTransactionOutput> txOutsSpent
public TransactionOutputChanges(List<StoredTransactionOutput> txOutsCreated, List<StoredTransactionOutput> txOutsSpent)
public TransactionOutputChanges(InputStream in) throws IOException
IOException
public void serializeToStream(OutputStream bos) throws IOException
IOException
Copyright © 2014. All rights reserved.