Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
org.bitcoinj.wallet |
Classes that support the
Wallet , which knows how to find and save transactions relevant to
a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended
in various ways, please refer to the website for documentation on how to use it. |
Modifier and Type | Method and Description |
---|---|
TransactionBroadcast |
TransactionBroadcaster.broadcastTransaction(Transaction tx)
Broadcast the given transaction on the network
|
TransactionBroadcast |
PeerGroup.broadcastTransaction(Transaction tx)
Calls
PeerGroup.broadcastTransaction(Transaction,int) with getMinBroadcastConnections() as the number
of connections to wait for before commencing broadcast. |
TransactionBroadcast |
PeerGroup.broadcastTransaction(Transaction tx,
int minConnections)
Given a transaction, sends it un-announced to one peer and then waits for it to be received back from other
peers.
|
static TransactionBroadcast |
TransactionBroadcast.createMockBroadcast(Transaction tx,
SettableFuture<Transaction> future) |
Modifier and Type | Field and Description |
---|---|
TransactionBroadcast |
Wallet.SendResult.broadcast
The broadcast object returned by the linked TransactionBroadcaster
|
Copyright © 2016. All rights reserved.