Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.protocols.channels | |
com.google.bitcoin.protocols.payments |
Modifier and Type | Method and Description |
---|---|
static Wallet.SendRequest |
Wallet.SendRequest.emptyWallet(Address destination) |
static Wallet.SendRequest |
Wallet.SendRequest.forTx(Transaction tx)
Simply wraps a pre-built incomplete transaction provided by you.
|
static Wallet.SendRequest |
Wallet.SendRequest.to(Address destination,
BigInteger value)
Creates a new SendRequest to the given address for the given value.
|
static Wallet.SendRequest |
Wallet.SendRequest.to(NetworkParameters params,
ECKey destination,
BigInteger value)
Creates a new SendRequest to the given pubkey for the given value.
|
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.sendCoins(Peer peer,
Wallet.SendRequest request)
Sends coins to the given address, via the given
Peer . |
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 |
---|---|
protected void |
PaymentChannelClientState.editContractSendRequest(Wallet.SendRequest req)
You can override this method in order to control the construction of the initial contract that creates the
channel.
|
Modifier and Type | Method and Description |
---|---|
Wallet.SendRequest |
PaymentSession.getSendRequest()
Returns a
Wallet.SendRequest suitable for broadcasting to the network. |
Copyright © 2014. All rights reserved.