Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.wallet |
Modifier and Type | Field and Description |
---|---|
CoinSelector |
Wallet.SendRequest.coinSelector
If not null, the
CoinSelector to use instead of the wallets default. |
Modifier and Type | Method and Description |
---|---|
CoinSelector |
Wallet.getCoinSelector()
Returns the
CoinSelector object which controls which outputs can be spent by this wallet. |
Modifier and Type | Method and Description |
---|---|
BigInteger |
Wallet.getBalance(CoinSelector selector)
Returns the balance that would be considered spendable by the given coin selector.
|
BigInteger |
Wallet.getWatchedBalance(CoinSelector selector)
Returns the balance that would be considered spendable by the given coin selector, including
any unspent balance at watched addresses.
|
void |
Wallet.setCoinSelector(CoinSelector coinSelector)
A coin selector is responsible for choosing which outputs to spend when creating transactions.
|
Modifier and Type | Class and Description |
---|---|
class |
AllowUnconfirmedCoinSelector
This coin selector will select any transaction at all, regardless of where it came from or whether it was
confirmed yet.
|
class |
DefaultCoinSelector
This class implements a
CoinSelector which attempts to get the highest priority
possible. |
class |
KeyTimeCoinSelector
A coin selector that takes all coins assigned to keys created before the given timestamp.
|
Copyright © 2014. All rights reserved.