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 |
---|---|
List<Protos.Key> |
Wallet.serializeKeychainToProtobuf()
Internal use only.
|
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> |
KeyChainGroup.serializeToProtobuf()
Returns a list of key protobufs obtained by merging the chains.
|
List<Protos.Key> |
KeyChain.serializeToProtobuf()
Returns a list of keys serialized to the bitcoinj protobuf format.
|
List<Protos.Key> |
DeterministicKeyChain.serializeToProtobuf() |
List<Protos.Key> |
BasicKeyChain.serializeToProtobuf() |
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; |
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)
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) |
Copyright © 2014. All rights reserved.