Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.kits |
Modifier and Type | Field and Description |
---|---|
PeerAddress |
VersionMessage.myAddr
What the other side believes the address of this program is.
|
protected PeerAddress |
PeerSocketHandler.peerAddress |
PeerAddress |
VersionMessage.theirAddr
What the other side believes their own address is.
|
Modifier and Type | Method and Description |
---|---|
PeerAddress |
PeerSocketHandler.getAddress() |
static PeerAddress |
PeerAddress.localhost(NetworkParameters params) |
Modifier and Type | Method and Description |
---|---|
List<PeerAddress> |
AddressMessage.getAddresses() |
ListIterator<PeerAddress> |
TransactionConfidence.getBroadcastBy()
Returns a snapshot of
PeerAddress es that announced the transaction. |
Modifier and Type | Method and Description |
---|---|
void |
PeerGroup.addAddress(PeerAddress peerAddress)
Add an address to the list of potential peers to connect to.
|
void |
AddressMessage.addAddress(PeerAddress address) |
protected Peer |
PeerGroup.connectTo(PeerAddress address,
boolean incrementMaxConnections) |
boolean |
TransactionConfidence.markBroadcastBy(PeerAddress address)
Called by a
Peer when a transaction is pending and announced by a peer. |
void |
MemoryPool.seen(Sha256Hash hash,
PeerAddress byPeer)
Called by peers when they see a transaction advertised in an "inv" message.
|
Transaction |
MemoryPool.seen(Transaction tx,
PeerAddress byPeer)
Called by peers when they receive a "tx" message containing a valid serialized transaction.
|
boolean |
TransactionConfidence.wasBroadcastBy(PeerAddress address)
Returns true if the given address has been seen via markBroadcastBy()
|
Constructor and Description |
---|
Peer(NetworkParameters params,
AbstractBlockChain blockChain,
PeerAddress peerAddress,
String thisSoftwareName,
String thisSoftwareVersion)
Construct a peer that reads/writes from the given chain.
|
Peer(NetworkParameters params,
VersionMessage ver,
AbstractBlockChain chain,
PeerAddress remoteAddress)
Construct a peer that reads/writes from the given block chain.
|
Peer(NetworkParameters params,
VersionMessage ver,
PeerAddress remoteAddress,
AbstractBlockChain chain,
MemoryPool mempool)
Construct a peer that reads/writes from the given block chain and memory pool.
|
PeerSocketHandler(NetworkParameters params,
PeerAddress peerAddress) |
Modifier and Type | Field and Description |
---|---|
protected PeerAddress[] |
WalletAppKit.peerAddresses |
Modifier and Type | Method and Description |
---|---|
WalletAppKit |
WalletAppKit.setPeerNodes(PeerAddress... addresses)
Will only connect to the given addresses.
|
Copyright © 2014. All rights reserved.