Package org.bitcoinj.wallet
Class AllowUnconfirmedCoinSelector
java.lang.Object
org.bitcoinj.wallet.DefaultCoinSelector
org.bitcoinj.wallet.AllowUnconfirmedCoinSelector
- All Implemented Interfaces:
CoinSelector
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic AllowUnconfirmedCoinSelector
get()
Returns a global static instance of the selector.protected boolean
Sub-classes can override this to just customize whether transactions are usable, but keep age sorting.Methods inherited from class org.bitcoinj.wallet.DefaultCoinSelector
isSelectable, select
-
Constructor Details
-
AllowUnconfirmedCoinSelector
public AllowUnconfirmedCoinSelector()
-
-
Method Details
-
shouldSelect
Description copied from class:DefaultCoinSelector
Sub-classes can override this to just customize whether transactions are usable, but keep age sorting.- Overrides:
shouldSelect
in classDefaultCoinSelector
-
get
Returns a global static instance of the selector.
-