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.protocols.channels |
Micropayment channels allow for rapid tiny payments to be made to a third party once a channel has been set up, using
some of the advanced features of the Bitcoin protocol.
|
org.bitcoinj.store |
Block stores persist blockchain data downloaded from remote peers.
|
Modifier and Type | Method and Description |
---|---|
WalletExtension |
Wallet.addOrGetExistingExtension(WalletExtension extension)
Atomically adds extension or returns an existing extension if there is one with the same id already present.
|
Modifier and Type | Method and Description |
---|---|
Map<String,WalletExtension> |
Wallet.getExtensions()
Returns a snapshot of all registered extension objects.
|
Modifier and Type | Method and Description |
---|---|
void |
Wallet.addExtension(WalletExtension extension)
By providing an object implementing the
WalletExtension interface, you can save and load arbitrary
additional data that will be stored with the wallet. |
WalletExtension |
Wallet.addOrGetExistingExtension(WalletExtension extension)
Atomically adds extension or returns an existing extension if there is one with the same id already present.
|
void |
Wallet.addOrUpdateExtension(WalletExtension extension)
Either adds extension as a new extension or replaces the existing extension if one already exists with the same
id.
|
Modifier and Type | Method and Description |
---|---|
protected List<WalletExtension> |
WalletAppKit.provideWalletExtensions()
Override this to return wallet extensions if any are necessary.
|
Modifier and Type | Class and Description |
---|---|
class |
StoredPaymentChannelClientStates
This class maintains a set of
StoredClientChannel s, automatically (re)broadcasting the contract transaction
and broadcasting the refund transaction over the given TransactionBroadcaster . |
class |
StoredPaymentChannelServerStates
Keeps track of a set of
StoredServerChannel s and expires them 2 hours before their refund transactions
unlock. |
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2014. All rights reserved.