com.google.bitcoin.wallet
Class KeyTimeCoinSelector
java.lang.Object
com.google.bitcoin.wallet.KeyTimeCoinSelector
- All Implemented Interfaces:
- CoinSelector
public class KeyTimeCoinSelector
- extends Object
- implements CoinSelector
A coin selector that takes all coins assigned to keys created before the given timestamp.
Used as part of the implementation of Wallet.setKeyRotationTime(java.util.Date).
|
Field Summary |
static int |
MAX_SIMULTANEOUS_INPUTS
A number of inputs chosen to avoid hitting com.google.bitcoin.core.Transaction.MAX_STANDARD_TX_SIZE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_SIMULTANEOUS_INPUTS
public static final int MAX_SIMULTANEOUS_INPUTS
- A number of inputs chosen to avoid hitting
com.google.bitcoin.core.Transaction.MAX_STANDARD_TX_SIZE
- See Also:
- Constant Field Values
KeyTimeCoinSelector
public KeyTimeCoinSelector(Wallet wallet,
long unixTimeSeconds,
boolean ignorePending)
select
public CoinSelection select(BigInteger target,
LinkedList<TransactionOutput> candidates)
- Specified by:
select in interface CoinSelector
Copyright © 2014. All rights reserved.