com.google.bitcoin.wallet
Class AllowUnconfirmedCoinSelector
java.lang.Object
com.google.bitcoin.wallet.DefaultCoinSelector
com.google.bitcoin.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).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllowUnconfirmedCoinSelector
public AllowUnconfirmedCoinSelector()
shouldSelect
protected boolean shouldSelect(Transaction tx)
- Description copied from class:
DefaultCoinSelector
- Sub-classes can override this to just customize whether transactions are usable, but keep age sorting.
- Overrides:
shouldSelect in class DefaultCoinSelector
get
public static AllowUnconfirmedCoinSelector get()
- Returns a global static instance of the selector.
Copyright © 2014. All rights reserved.