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.kits |
High level wrapper APIs around the bitcoinj building blocks.
|
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 |
---|---|
DeterministicSeed |
Wallet.getKeyChainSeed()
Returns the immutable seed for the current active HD chain.
|
Modifier and Type | Method and Description |
---|---|
static Wallet |
Wallet.fromSeed(NetworkParameters params,
DeterministicSeed seed) |
Modifier and Type | Field and Description |
---|---|
protected DeterministicSeed |
WalletAppKit.restoreFromSeed |
Modifier and Type | Method and Description |
---|---|
WalletAppKit |
WalletAppKit.restoreWalletFromSeed(DeterministicSeed seed)
If a seed is set here then any existing wallet that matches the file name will be renamed to a backup name,
the chain file will be deleted, and the wallet object will be instantiated with the given seed instead of
a fresh one being created.
|
Modifier and Type | Method and Description |
---|---|
DeterministicSeed |
DeterministicSeed.decrypt(KeyCrypter crypter,
String passphrase,
org.spongycastle.crypto.params.KeyParameter aesKey) |
DeterministicSeed |
DeterministicSeed.encrypt(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey) |
DeterministicSeed |
DeterministicKeyChain.getSeed()
Returns the seed or null if this chain is a watching chain.
|
Constructor and Description |
---|
DeterministicKeyChain(DeterministicSeed seed)
Creates a deterministic key chain starting from the given seed.
|
KeyChainGroup(NetworkParameters params,
DeterministicSeed seed)
Creates a keychain group with no basic chain, and an HD chain initialized from the given seed.
|
KeyChainGroup(NetworkParameters params,
DeterministicSeed seed,
List<DeterministicKey> followingAccountKeys,
int sigsRequiredToSpend)
Creates a keychain group with no basic chain, with an HD chain initialized from the given seed and being followed
by given list of watch keys.
|
Copyright © 2014. All rights reserved.