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.testing |
Various utilities for writing unit tests: also useful for testing your own code and apps that build on top of
bitcoinj.
|
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 |
---|---|
DeterministicKeyChain |
Wallet.getActiveKeychain()
Gets the active keychain via
KeyChainGroup.getActiveKeyChain() |
Modifier and Type | Method and Description |
---|---|
void |
Wallet.addAndActivateHDChain(DeterministicKeyChain chain)
Add a pre-configured keychain to the wallet.
|
Constructor and Description |
---|
KeyChainTransactionSigner(DeterministicKeyChain keyChain) |
Modifier and Type | Class and Description |
---|---|
class |
MarriedKeyChain
A multi-signature keychain using synchronized HD keys (a.k.a HDM)
|
Modifier and Type | Field and Description |
---|---|
protected LinkedList<DeterministicKeyChain> |
KeyChainGroup.chains |
Modifier and Type | Method and Description |
---|---|
DeterministicKeyChain |
DeterministicKeyChain.Builder.build() |
DeterministicKeyChain |
KeyChainGroup.getActiveKeyChain()
Returns the key chain that's used for generation of fresh/current keys.
|
DeterministicKeyChain |
DeterministicKeyChain.toDecrypted(CharSequence password) |
DeterministicKeyChain |
DeterministicKeyChain.toDecrypted(org.spongycastle.crypto.params.KeyParameter aesKey) |
DeterministicKeyChain |
DeterministicKeyChain.toEncrypted(CharSequence password) |
DeterministicKeyChain |
DeterministicKeyChain.toEncrypted(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey) |
DeterministicKeyChain |
KeyChainGroup.upgradeToDeterministic(long keyRotationTimeSecs,
org.spongycastle.crypto.params.KeyParameter aesKey)
If the key chain contains only random keys and no deterministic key chains, this method will create a chain
based on the oldest non-rotating private key (i.e.
|
static DeterministicKeyChain |
DeterministicKeyChain.watch(DeterministicKey accountKey)
Creates a key chain that watches the given account key.
|
static DeterministicKeyChain |
DeterministicKeyChain.watch(DeterministicKey accountKey,
long seedCreationTimeSecs)
Creates a key chain that watches the given account key, and assumes there are no transactions involving it until
the given time (this is an optimisation for chain scanning purposes).
|
static DeterministicKeyChain |
DeterministicKeyChain.watchAndFollow(DeterministicKey watchKey)
Creates a deterministic key chain with the given watch key and that follows some other keychain.
|
Modifier and Type | Method and Description |
---|---|
static List<DeterministicKeyChain> |
DeterministicKeyChain.fromProtobuf(List<Protos.Key> keys,
KeyCrypter crypter)
Returns all the key chains found in the given list of keys.
|
List<DeterministicKeyChain> |
KeyChainGroup.getDeterministicKeyChains()
Returns a copy of the current list of chains.
|
Modifier and Type | Method and Description |
---|---|
void |
KeyChainGroup.addAndActivateHDChain(DeterministicKeyChain chain)
Adds an HD chain to the chains list, and make it the default chain (from which keys are issued).
|
Copyright © 2014. All rights reserved.