Package org.bitcoinj.core
Class TransactionOutputChanges
- java.lang.Object
-
- org.bitcoinj.core.TransactionOutputChanges
-
public class TransactionOutputChanges extends java.lang.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.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<UTXO>
txOutsCreated
java.util.List<UTXO>
txOutsSpent
-
Constructor Summary
Constructors Constructor Description TransactionOutputChanges(java.io.InputStream in)
TransactionOutputChanges(java.util.List<UTXO> txOutsCreated, java.util.List<UTXO> txOutsSpent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serializeToStream(java.io.OutputStream bos)
-