Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
block chain management and the Wallet class. |
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 |
---|---|
Address |
Wallet.currentAddress(KeyChain.KeyPurpose purpose)
Returns address for a
Wallet.currentKey(org.bitcoinj.wallet.KeyChain.KeyPurpose) |
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 |
Wallet.freshAddress(KeyChain.KeyPurpose purpose)
Returns address for a
Wallet.freshKey(org.bitcoinj.wallet.KeyChain.KeyPurpose) |
DeterministicKey |
Wallet.freshKey(KeyChain.KeyPurpose purpose)
Returns a key that has 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).
|
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) |
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 . |
Address |
KeyChainGroup.freshAddress(KeyChain.KeyPurpose purpose)
Returns address for a
KeyChainGroup.freshKey(KeyChain.KeyPurpose) |
DeterministicKey |
KeyChainGroup.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).
|
ECKey |
KeyChain.getKey(KeyChain.KeyPurpose purpose)
Obtains a key intended for the given purpose.
|
DeterministicKey |
DeterministicKeyChain.getKey(KeyChain.KeyPurpose purpose)
Returns a freshly derived key that has not been returned by this method before.
|
ECKey |
BasicKeyChain.getKey(KeyChain.KeyPurpose ignored) |
List<? extends ECKey> |
KeyChain.getKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys)
Obtains a number of key/s intended for the given purpose.
|
List<DeterministicKey> |
DeterministicKeyChain.getKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys)
Returns freshly derived key/s that have not been returned by this method before.
|
List<ECKey> |
BasicKeyChain.getKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys) |
Copyright © 2014. All rights reserved.