|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TransactionBroadcaster | |
|---|---|
| com.google.bitcoin.core | |
| com.google.bitcoin.protocols.channels | |
| com.google.bitcoin.utils | |
| Uses of TransactionBroadcaster in com.google.bitcoin.core |
|---|
| Classes in com.google.bitcoin.core that implement TransactionBroadcaster | |
|---|---|
class |
PeerGroup
Runs a set of connections to the P2P network, brings up connections to replace disconnected nodes and manages the interaction between them all. |
| Methods in com.google.bitcoin.core with parameters of type TransactionBroadcaster | |
|---|---|
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. |
void |
Wallet.setTransactionBroadcaster(TransactionBroadcaster broadcaster)
Specifies that the given TransactionBroadcaster, typically a PeerGroup, should be used for
sending transactions to the Bitcoin network by default. |
| Uses of TransactionBroadcaster in com.google.bitcoin.protocols.channels |
|---|
| Methods in com.google.bitcoin.protocols.channels with parameters of type TransactionBroadcaster | |
|---|---|
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. |
| Constructors in com.google.bitcoin.protocols.channels with parameters of type TransactionBroadcaster | |
|---|---|
PaymentChannelServer(TransactionBroadcaster broadcaster,
Wallet wallet,
BigInteger minAcceptedChannelSize,
PaymentChannelServer.ServerConnection conn)
Creates a new server-side state manager which handles a single client connection. |
|
PaymentChannelServerListener(TransactionBroadcaster broadcaster,
Wallet wallet,
int timeoutSeconds,
BigInteger minAcceptedChannelSize,
PaymentChannelServerListener.HandlerFactory eventHandlerFactory)
Sets up a new payment channel server which listens on the given port. |
|
PaymentChannelServerState(TransactionBroadcaster broadcaster,
Wallet wallet,
ECKey serverKey,
long minExpireTime)
Creates a new state object to track the server side of a payment channel. |
|
StoredPaymentChannelClientStates(Wallet containingWallet,
TransactionBroadcaster announcePeerGroup)
Creates a new StoredPaymentChannelClientStates and associates it with the given Wallet and
TransactionBroadcaster which are used to complete and announce contract and refund
transactions. |
|
StoredPaymentChannelServerStates(Wallet wallet,
TransactionBroadcaster broadcaster)
Creates a new PaymentChannelServerStateManager and associates it with the given Wallet and
TransactionBroadcaster which are used to complete and announce payment transactions. |
|
| Uses of TransactionBroadcaster in com.google.bitcoin.utils |
|---|
| Classes in com.google.bitcoin.utils that implement TransactionBroadcaster | |
|---|---|
class |
MockTransactionBroadcaster
A mock transaction broadcaster can be used in unit tests as a stand-in for a PeerGroup. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||