| 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. |
| Modifier and Type | Method and Description |
|---|---|
abstract AddressMessage |
MessageSerializer.makeAddressMessage(byte[] payloadBytes,
int length)
Make an address message from the payload.
|
AddressMessage |
BitcoinSerializer.makeAddressMessage(byte[] payloadBytes,
int length)
Make an address message from the payload.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<AddressMessage> |
Peer.getAddr()
Sends a getaddr request to the peer and returns a future that completes with the answer once the peer has replied.
|
Copyright © 2018. All rights reserved.