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 | Method and Description |
---|---|
ListenableFuture<PaymentIncrementAck> |
PaymentChannelClientConnection.incrementPayment(Coin size)
Increments the total value which we pay the server.
|
ListenableFuture<PaymentIncrementAck> |
PaymentChannelClient.incrementPayment(Coin size)
Increments the total value which we pay the server.
|
boolean |
PaymentChannelServerState.incrementPayment(Coin refundSize,
byte[] signatureBytes)
Called when the client provides us with a new signature and wishes to increment total payment by size.
|
ListenableFuture<PaymentIncrementAck> |
PaymentChannelClientConnection.incrementPayment(Coin size,
com.google.protobuf.ByteString info)
Increments the total value which we pay the server.
|
ListenableFuture<PaymentIncrementAck> |
PaymentChannelClient.incrementPayment(Coin size,
com.google.protobuf.ByteString info)
Increments the total value which we pay the server.
|
ListenableFuture<PaymentIncrementAck> |
IPaymentChannelClient.incrementPayment(Coin size,
com.google.protobuf.ByteString info)
Increments the total value which we pay the server.
|
PaymentChannelClientState.IncrementedPayment |
PaymentChannelClientState.incrementPaymentBy(Coin size)
Updates the outputs on the payment contract transaction and re-signs it.
|
void |
PaymentChannelClientState.initiate()
Creates the initial multisig contract and incomplete refund transaction which can be requested at the appropriate
time using
PaymentChannelClientState.getIncompleteRefundTransaction() and
PaymentChannelClientState.getMultisigContract() . |
Constructor and Description |
---|
PaymentChannelClientConnection(InetSocketAddress server,
int timeoutSeconds,
Wallet wallet,
ECKey myKey,
Coin maxValue,
String serverId)
Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the
connection is open.
|
PaymentChannelClientConnection(InetSocketAddress server,
int timeoutSeconds,
Wallet wallet,
ECKey myKey,
Coin maxValue,
String serverId,
long timeWindow)
Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the
connection is open.
|
Copyright © 2014. All rights reserved.