| Package | Description | 
|---|---|
| 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.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 | 
|---|---|
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  
StoredClientChannels, automatically (re)broadcasting the contract transaction
 and broadcasting the refund transaction over the given TransactionBroadcaster. | 
class  | 
StoredPaymentChannelServerStates
Keeps track of a set of  
StoredServerChannels and expires them 2 hours before their refund transactions
 unlock. | 
| 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. 
 | 
void | 
Wallet.deserializeExtension(WalletExtension extension,
                    byte[] data)
Deserialize the wallet extension with the supplied data and then install it, replacing any existing extension
 that may have existed with the same ID. 
 | 
static Wallet | 
Wallet.loadFromFile(File file,
            WalletExtension... walletExtensions)
Returns a wallet deserialized from the given file. 
 | 
static Wallet | 
Wallet.loadFromFileStream(InputStream stream,
                  WalletExtension... walletExtensions)
Returns a wallet deserialized from the given input stream and wallet extensions. 
 | 
Wallet | 
WalletProtobufSerializer.readWallet(InputStream input,
          boolean forceReset,
          WalletExtension[] extensions)
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object. 
 | 
Wallet | 
WalletProtobufSerializer.readWallet(InputStream input,
          WalletExtension... walletExtensions)
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object. 
 | 
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. 
 | 
Wallet | 
WalletProtobufSerializer.readWallet(NetworkParameters params,
          WalletExtension[] extensions,
          Protos.Wallet walletProto,
          boolean forceReset)
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object. 
 | 
Copyright © 2016. All rights reserved.