Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
PaymentChannelV1ServerState
Version 1 of the payment channel server state object.
|
class |
PaymentChannelV2ServerState
Version 2 of the payment channel state machine - uses CLTV opcode transactions
instead of multisig transactions.
|
Modifier and Type | Method and Description |
---|---|
PaymentChannelServerState |
StoredServerChannel.getOrCreateState(Wallet wallet,
TransactionBroadcaster broadcaster)
Gets the canonical
PaymentChannelServerState object for this channel, either by returning an existing one
or by creating a new one. |
PaymentChannelServerState |
PaymentChannelServer.state()
Returns the underlying
PaymentChannelServerState object that is being manipulated. |
Modifier and Type | Method and Description |
---|---|
ListenableFuture<PaymentChannelServerState> |
PaymentChannelServerState.provideContract(Transaction contract)
Called when the client provides the multi-sig contract.
|
Copyright © 2016. All rights reserved.