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.
Modifier and Type | Field and Description |
---|---|
java.util.List<UTXO> |
txOutsCreated |
java.util.List<UTXO> |
txOutsSpent |
Constructor and Description |
---|
TransactionOutputChanges(java.io.InputStream in) |
TransactionOutputChanges(java.util.List<UTXO> txOutsCreated,
java.util.List<UTXO> txOutsSpent) |
Modifier and Type | Method and Description |
---|---|
void |
serializeToStream(java.io.OutputStream bos) |
public final java.util.List<UTXO> txOutsCreated
public final java.util.List<UTXO> txOutsSpent