Package org.bitcoinj.wallet
Class FilteringCoinSelector
java.lang.Object
org.bitcoinj.wallet.FilteringCoinSelector
- All Implemented Interfaces:
CoinSelector
A filtering coin selector delegates to another coin selector, but won't select outputs spent by the given transactions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidselect(Coin target, List<TransactionOutput> candidates) Creates a CoinSelection that tries to meet the target amount of value.
-
Field Details
-
delegate
-
spent
-
-
Constructor Details
-
FilteringCoinSelector
-
-
Method Details
-
excludeOutputsSpentBy
-
select
Description copied from interface:CoinSelectorCreates a CoinSelection that tries to meet the target amount of value. The candidates list is given to this call and can be edited freely. See the docs for CoinSelection to learn more, or look a the implementation ofDefaultCoinSelector.- Specified by:
selectin interfaceCoinSelector
-