public class KeyTimeCoinSelector extends Object implements CoinSelector
Wallet.setKeyRotationTime(java.util.Date)
.Modifier and Type | Field and Description |
---|---|
static int |
MAX_SIMULTANEOUS_INPUTS
A number of inputs chosen to avoid hitting
Transaction.MAX_STANDARD_TX_SIZE |
Constructor and Description |
---|
KeyTimeCoinSelector(Wallet wallet,
long unixTimeSeconds,
boolean ignorePending) |
Modifier and Type | Method and Description |
---|---|
CoinSelection |
select(Coin target,
List<TransactionOutput> candidates)
Creates a CoinSelection that tries to meet the target amount of value.
|
public static final int MAX_SIMULTANEOUS_INPUTS
Transaction.MAX_STANDARD_TX_SIZE
public KeyTimeCoinSelector(Wallet wallet, long unixTimeSeconds, boolean ignorePending)
public CoinSelection select(Coin target, List<TransactionOutput> candidates)
CoinSelector
DefaultCoinSelector
.select
in interface CoinSelector
Copyright © 2016. All rights reserved.