Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.protocols.channels |
Modifier and Type | Class and Description |
---|---|
static class |
InsufficientMoneyException.CouldNotAdjustDownwards
Thrown when we were trying to empty the wallet, and the total amount of money we were trying to empty after
being reduced for the fee was smaller than the min payment.
|
Modifier and Type | Method and Description |
---|---|
void |
Wallet.completeTx(Wallet.SendRequest req)
Given a spend request containing an incomplete transaction, makes it valid by adding outputs and signed inputs
according to the instructions in the request.
|
Transaction |
Wallet.createSend(Address address,
BigInteger nanocoins)
Statelessly creates a transaction that sends the given value to address.
|
Transaction |
Wallet.sendCoins(Peer peer,
Wallet.SendRequest request)
Sends coins to the given address, via the given
Peer . |
Wallet.SendResult |
Wallet.sendCoins(TransactionBroadcaster broadcaster,
Address to,
BigInteger value)
Sends coins to the given address, via the given
PeerGroup . |
Wallet.SendResult |
Wallet.sendCoins(TransactionBroadcaster broadcaster,
Wallet.SendRequest request)
Sends coins according to the given request, via the given
TransactionBroadcaster . |
Wallet.SendResult |
Wallet.sendCoins(Wallet.SendRequest request)
Satisfies the given
Wallet.SendRequest using the default transaction broadcaster configured either via
PeerGroup.addWallet(Wallet) or directly with Wallet.setTransactionBroadcaster(TransactionBroadcaster) . |
Transaction |
Wallet.sendCoinsOffline(Wallet.SendRequest request)
Sends coins to the given address but does not broadcast the resulting pending transaction.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Transaction> |
PaymentChannelServerState.close()
Closes this channel and broadcasts the highest value payment transaction on the network.
|
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.
|
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() . |
void |
PaymentChannelClient.receiveMessage(Protos.TwoWayChannelMessage msg)
Called when a message is received from the server.
|
void |
IPaymentChannelClient.receiveMessage(Protos.TwoWayChannelMessage msg)
Called when a message is received from the server.
|
Copyright © 2014. All rights reserved.