Package | Description |
---|---|
org.bitcoinj.wallet |
Classes that support the
Wallet , which knows how to find and save transactions relevant to
a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended
in various ways, please refer to the website for documentation on how to use it. |
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 |
FilteringCoinSelector
A filtering coin selector delegates to another coin selector, but won't select outputs spent by the given transactions.
|
class |
KeyTimeCoinSelector
A coin selector that takes all coins assigned to keys created before the given timestamp.
|
Modifier and Type | Field and Description |
---|---|
CoinSelector |
SendRequest.coinSelector
If not null, the
CoinSelector to use instead of the wallets default. |
protected CoinSelector |
Wallet.coinSelector |
protected CoinSelector |
FilteringCoinSelector.delegate |
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 |
---|---|
Coin |
Wallet.getBalance(CoinSelector selector)
Returns the balance that would be considered spendable by the given coin selector, including watched outputs
(i.e.
|
Coin |
Wallet.getWatchedBalance(CoinSelector selector)
Deprecated.
Use
Wallet.getBalance(CoinSelector) instead as including watched balances is now the default behaviour |
void |
Wallet.setCoinSelector(CoinSelector coinSelector)
A coin selector is responsible for choosing which outputs to spend when creating transactions.
|
Constructor and Description |
---|
FilteringCoinSelector(CoinSelector delegate) |
Copyright © 2016. All rights reserved.