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 | Field and Description |
---|---|
static com.google.protobuf.Parser<Protos.Key> |
Protos.Key.PARSER |
Modifier and Type | Method and Description |
---|---|
Protos.Key |
Protos.Key.Builder.build() |
Protos.Key |
Protos.Key.Builder.buildPartial() |
static Protos.Key |
Protos.Key.getDefaultInstance() |
Protos.Key |
Protos.Key.getDefaultInstanceForType() |
Protos.Key |
Protos.Key.Builder.getDefaultInstanceForType() |
Protos.Key |
Protos.WalletOrBuilder.getKey(int index)
repeated .wallet.Key key = 3; |
Protos.Key |
Protos.Wallet.getKey(int index)
repeated .wallet.Key key = 3; |
Protos.Key |
Protos.Wallet.Builder.getKey(int index)
repeated .wallet.Key key = 3; |
static Protos.Key |
Protos.Key.parseDelimitedFrom(InputStream input) |
static Protos.Key |
Protos.Key.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Key |
Protos.Key.parseFrom(byte[] data) |
static Protos.Key |
Protos.Key.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Key |
Protos.Key.parseFrom(com.google.protobuf.ByteString data) |
static Protos.Key |
Protos.Key.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Key |
Protos.Key.parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Key |
Protos.Key.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Key |
Protos.Key.parseFrom(InputStream input) |
static Protos.Key |
Protos.Key.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
List<Protos.Key> |
Protos.WalletOrBuilder.getKeyList()
repeated .wallet.Key key = 3; |
List<Protos.Key> |
Protos.Wallet.getKeyList()
repeated .wallet.Key key = 3; |
List<Protos.Key> |
Protos.Wallet.Builder.getKeyList()
repeated .wallet.Key key = 3; |
com.google.protobuf.Parser<Protos.Key> |
Protos.Key.getParserForType() |
List<Protos.Key> |
Wallet.serializeKeyChainGroupToProtobuf()
Internal use only.
|
protected List<Protos.Key> |
DeterministicKeyChain.serializeMyselfToProtobuf() |
List<Protos.Key> |
MarriedKeyChain.serializeToProtobuf() |
List<Protos.Key> |
BasicKeyChain.serializeToProtobuf() |
List<Protos.Key> |
KeyChainGroup.serializeToProtobuf()
Returns a list of key protobufs obtained by merging the chains.
|
List<Protos.Key> |
DeterministicKeyChain.serializeToProtobuf() |
List<Protos.Key> |
KeyChain.serializeToProtobuf()
Returns a list of keys serialized to the bitcoinj protobuf format.
|
Modifier and Type | Method and Description |
---|---|
Protos.Wallet.Builder |
Protos.Wallet.Builder.addKey(int index,
Protos.Key value)
repeated .wallet.Key key = 3; |
Protos.Wallet.Builder |
Protos.Wallet.Builder.addKey(Protos.Key value)
repeated .wallet.Key key = 3; |
DeterministicKeyChain |
DefaultKeyChainFactory.makeKeyChain(Protos.Key key,
Protos.Key firstSubKey,
DeterministicSeed seed,
KeyCrypter crypter,
boolean isMarried) |
DeterministicKeyChain |
KeyChainFactory.makeKeyChain(Protos.Key key,
Protos.Key firstSubKey,
DeterministicSeed seed,
KeyCrypter crypter,
boolean isMarried)
Make a keychain (but not a watching one).
|
DeterministicKeyChain |
DefaultKeyChainFactory.makeWatchingKeyChain(Protos.Key key,
Protos.Key firstSubKey,
DeterministicKey accountKey,
boolean isFollowingKey,
boolean isMarried) |
DeterministicKeyChain |
KeyChainFactory.makeWatchingKeyChain(Protos.Key key,
Protos.Key firstSubKey,
DeterministicKey accountKey,
boolean isFollowingKey,
boolean isMarried)
Make a watching keychain.
|
Protos.Key.Builder |
Protos.Key.Builder.mergeFrom(Protos.Key other) |
static Protos.Key.Builder |
Protos.Key.newBuilder(Protos.Key prototype) |
Protos.Wallet.Builder |
Protos.Wallet.Builder.setKey(int index,
Protos.Key value)
repeated .wallet.Key key = 3; |
Modifier and Type | Method and Description |
---|---|
Protos.Wallet.Builder |
Protos.Wallet.Builder.addAllKey(Iterable<? extends Protos.Key> values)
repeated .wallet.Key key = 3; |
static List<DeterministicKeyChain> |
DeterministicKeyChain.fromProtobuf(List<Protos.Key> keys,
KeyCrypter crypter,
KeyChainFactory factory)
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,
KeyCrypter crypter,
KeyChainFactory factory) |
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,
KeyChainFactory factory) |
Copyright © 2016. All rights reserved.