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 | Method and Description |
---|---|
static KeyChain.KeyPurpose |
KeyChain.KeyPurpose.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyChain.KeyPurpose[] |
KeyChain.KeyPurpose.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Address |
KeyChainGroup.currentAddress(KeyChain.KeyPurpose purpose)
Returns address for a
KeyChainGroup.currentKey(KeyChain.KeyPurpose) |
Address |
Wallet.currentAddress(KeyChain.KeyPurpose purpose)
Returns address for a
Wallet.currentKey(org.bitcoinj.wallet.KeyChain.KeyPurpose) |
DeterministicKey |
KeyChainGroup.currentKey(KeyChain.KeyPurpose purpose)
Returns a key that hasn't been seen in a transaction yet, and which is suitable for displaying in a wallet
user interface as "a convenient key to receive funds on" when the purpose parameter is
RECEIVE_FUNDS . |
DeterministicKey |
Wallet.currentKey(KeyChain.KeyPurpose purpose)
Returns a key that hasn't been seen in a transaction yet, and which is suitable for displaying in a wallet
user interface as "a convenient key to receive funds on" when the purpose parameter is
RECEIVE_FUNDS . |
Address |
KeyChainGroup.freshAddress(KeyChain.KeyPurpose purpose)
Returns address for a
KeyChainGroup.freshKey(KeyChain.KeyPurpose) |
Address |
Wallet.freshAddress(KeyChain.KeyPurpose purpose)
Returns address for a
Wallet.freshKey(org.bitcoinj.wallet.KeyChain.KeyPurpose) |
DeterministicKey |
KeyChainGroup.freshKey(KeyChain.KeyPurpose purpose)
Returns a key that has not been returned by this method before (fresh).
|
DeterministicKey |
Wallet.freshKey(KeyChain.KeyPurpose purpose)
Returns a key that has not been returned by this method before (fresh).
|
List<DeterministicKey> |
KeyChainGroup.freshKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys)
Returns a key/s that have not been returned by this method before (fresh).
|
List<DeterministicKey> |
Wallet.freshKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys)
Returns a key/s that has not been returned by this method before (fresh).
|
Script |
MarriedKeyChain.freshOutputScript(KeyChain.KeyPurpose purpose)
Create a new married key and return the matching output script
|
Script |
DeterministicKeyChain.freshOutputScript(KeyChain.KeyPurpose purpose)
Create a new key and return the matching output script.
|
ECKey |
BasicKeyChain.getKey(KeyChain.KeyPurpose ignored) |
DeterministicKey |
DeterministicKeyChain.getKey(KeyChain.KeyPurpose purpose)
Returns a freshly derived key that has not been returned by this method before.
|
ECKey |
KeyChain.getKey(KeyChain.KeyPurpose purpose)
Obtains a key intended for the given purpose.
|
List<ECKey> |
BasicKeyChain.getKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys) |
List<DeterministicKey> |
DeterministicKeyChain.getKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys)
Returns freshly derived key/s that have not been returned by this method before.
|
List<? extends ECKey> |
KeyChain.getKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys)
Obtains a number of key/s intended for the given purpose.
|
Copyright © 2016. All rights reserved.