Package | Description |
---|---|
com.google.bitcoin.protocols.channels |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<BigInteger> |
PaymentChannelClientConnection.incrementPayment(BigInteger size)
Increments the total value which we pay the server.
|
com.google.common.util.concurrent.ListenableFuture<BigInteger> |
PaymentChannelClient.incrementPayment(BigInteger size)
Increments the total value which we pay the server.
|
com.google.common.util.concurrent.ListenableFuture<BigInteger> |
IPaymentChannelClient.incrementPayment(BigInteger size)
Increments the total value which we pay the server.
|
boolean |
PaymentChannelServerState.incrementPayment(BigInteger refundSize,
byte[] signatureBytes)
Called when the client provides us with a new signature and wishes to increment total payment by size.
|
PaymentChannelClientState.IncrementedPayment |
PaymentChannelClientState.incrementPaymentBy(BigInteger 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,
BigInteger 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
|
Copyright © 2014. All rights reserved.