|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WalletExtension | |
|---|---|
| com.google.bitcoin.core | |
| com.google.bitcoin.protocols.channels | |
| Uses of WalletExtension in com.google.bitcoin.core |
|---|
| Methods in com.google.bitcoin.core that return WalletExtension | |
|---|---|
WalletExtension |
Wallet.addOrGetExistingExtension(WalletExtension extension)
Atomically adds extension or returns an existing extension if there is one with the same id alreadypresent. |
| Methods in com.google.bitcoin.core that return types with arguments of type WalletExtension | |
|---|---|
Map<String,WalletExtension> |
Wallet.getExtensions()
Returns a snapshot of all registered extension objects. |
| Methods in com.google.bitcoin.core with parameters of type WalletExtension | |
|---|---|
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 alreadypresent. |
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. |
| Uses of WalletExtension in com.google.bitcoin.protocols.channels |
|---|
| Classes in com.google.bitcoin.protocols.channels that implement WalletExtension | |
|---|---|
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||