public class CoinSelection
extends java.lang.Object
CoinSelector.select(Coin, List)
operation. A
coin selection represents a list of spendable transaction outputs that sum together to give valueGathered.
Different coin selections could be produced by different coin selectors from the same input set, according
to their varying policies.Modifier and Type | Field and Description |
---|---|
java.util.Collection<TransactionOutput> |
gathered |
Coin |
valueGathered |
Constructor and Description |
---|
CoinSelection(Coin valueGathered,
java.util.Collection<TransactionOutput> gathered) |
public Coin valueGathered
public java.util.Collection<TransactionOutput> gathered
public CoinSelection(Coin valueGathered, java.util.Collection<TransactionOutput> gathered)