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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
select
(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:CoinSelector
Creates 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:
select
in interfaceCoinSelector
-