Package org.bitcoinj.wallet
Class CoinSelection
java.lang.Object
org.bitcoinj.wallet.CoinSelection
Represents the results of a
CoinSelector.select(Coin, List)
operation. A coin selection represents a list
of spendable transaction outputs that sum together to a totalValue()
value gathered. Different coin selections
could be produced by different coin selectors from the same input set, according to their varying policies.-
Field Summary
Modifier and TypeFieldDescriptionfinal List<TransactionOutput>
Deprecated.final Coin
Deprecated.UsetotalValue()
-
Constructor Summary
ConstructorDescriptionCoinSelection
(List<TransactionOutput> gathered) CoinSelection
(Coin valueGathered, Collection<TransactionOutput> gathered) Deprecated. -
Method Summary
-
Field Details
-
valueGathered
Deprecated.UsetotalValue()
-
gathered
Deprecated.Useoutputs()
-
-
Constructor Details
-
CoinSelection
-
CoinSelection
Deprecated.
-
-
Method Details
-
totalValue
- Returns:
- Total value of gathered outputs.
-
outputs
- Returns:
- List of gathered outputs
-
outputs()