Package org.bitcoinj.wallet
Class AllowUnconfirmedCoinSelector
- java.lang.Object
-
- org.bitcoinj.wallet.DefaultCoinSelector
-
- org.bitcoinj.wallet.AllowUnconfirmedCoinSelector
-
- All Implemented Interfaces:
CoinSelector
public class AllowUnconfirmedCoinSelector extends DefaultCoinSelector
This coin selector will select any transaction at all, regardless of where it came from or whether it was confirmed yet. However immature coinbases will not be included (would be a protocol violation).
-
-
Constructor Summary
Constructors Constructor Description AllowUnconfirmedCoinSelector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoinSelectorget()protected booleanshouldSelect(Transaction tx)Sub-classes can override this to just customize whether transactions are usable, but keep age sorting.-
Methods inherited from class org.bitcoinj.wallet.DefaultCoinSelector
compareByDepth, get, isSelectable, select
-
-
-
-
Method Detail
-
shouldSelect
protected boolean shouldSelect(Transaction tx)
Description copied from class:DefaultCoinSelectorSub-classes can override this to just customize whether transactions are usable, but keep age sorting.- Overrides:
shouldSelectin classDefaultCoinSelector
-
get
public static CoinSelector get()
-
-