Package org.bitcoinj.wallet
Class CoinSelection
- java.lang.Object
-
- org.bitcoinj.wallet.CoinSelection
-
public class CoinSelection extends java.lang.Object
Represents the results of aCoinSelector.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.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Collection<TransactionOutput>
gathered
Coin
valueGathered
-
Constructor Summary
Constructors Constructor Description CoinSelection(Coin valueGathered, java.util.Collection<TransactionOutput> gathered)
-
-
-
Field Detail
-
valueGathered
public Coin valueGathered
-
gathered
public java.util.Collection<TransactionOutput> gathered
-
-
Constructor Detail
-
CoinSelection
public CoinSelection(Coin valueGathered, java.util.Collection<TransactionOutput> gathered)
-
-