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