Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.protocols.channels |
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 alreadypresent.
|
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 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.
|
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. |
Copyright © 2014. All rights reserved.