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.store |
Block stores persist blockchain data downloaded from remote peers.
|
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 Wallet |
Wallet.loadFromFile(File f)
Returns a wallet deserialized from the given file.
|
static Wallet |
Wallet.loadFromFileStream(InputStream stream)
Returns a wallet deserialized from the given input stream.
|
Modifier and Type | Class and Description |
---|---|
static class |
UnreadableWalletException.BadPassword |
static class |
UnreadableWalletException.FutureVersion |
static class |
UnreadableWalletException.WrongNetwork |
Modifier and Type | Method and Description |
---|---|
Wallet |
WalletProtobufSerializer.readWallet(InputStream input)
Parses a wallet from the given stream, using the provided Wallet instance to load data into.
|
Wallet |
WalletProtobufSerializer.readWallet(NetworkParameters params,
WalletExtension[] extensions,
Protos.Wallet walletProto)
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object.
|
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.
|
static BasicKeyChain |
BasicKeyChain.fromProtobufEncrypted(List<Protos.Key> keys,
KeyCrypter crypter)
Returns a new BasicKeyChain that contains all basic, ORIGINAL type keys and also any encrypted keys extracted
from the list.
|
static KeyChainGroup |
KeyChainGroup.fromProtobufEncrypted(NetworkParameters params,
List<Protos.Key> keys,
int sigsRequiredToSpend,
KeyCrypter crypter) |
static BasicKeyChain |
BasicKeyChain.fromProtobufUnencrypted(List<Protos.Key> keys)
Returns a new BasicKeyChain that contains all basic, ORIGINAL type keys extracted from the list.
|
static KeyChainGroup |
KeyChainGroup.fromProtobufUnencrypted(NetworkParameters params,
List<Protos.Key> keys,
int sigsRequiredToSpend) |
Constructor and Description |
---|
DeterministicSeed(String mnemonicCode,
byte[] seed,
String passphrase,
long creationTimeSeconds) |
Copyright © 2014. All rights reserved.