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.net |
Classes handling low level network management using either NIO (async io) or older style blocking sockets (useful for
using SOCKS proxies, Tor, SSL etc).
|
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 |
---|---|
BloomFilter |
Peer.getBloomFilter()
Returns the last
BloomFilter set by Peer.setBloomFilter(BloomFilter) . |
BloomFilter |
PeerFilterProvider.getBloomFilter(int size,
double falsePositiveRate,
long nTweak)
Gets a bloom filter that contains all the necessary elements for the listener to receive relevant transactions.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<BloomFilter> |
PeerGroup.addPeerFilterProvider(PeerFilterProvider provider)
Link the given PeerFilterProvider to this PeerGroup.
|
com.google.common.util.concurrent.ListenableFuture<BloomFilter> |
PeerGroup.recalculateFastCatchupAndFilter(PeerGroup.FilterRecalculateMode mode)
Recalculates the bloom filter given to peers as well as the timestamp after which full blocks are downloaded
(instead of only headers).
|
Modifier and Type | Method and Description |
---|---|
void |
BloomFilter.merge(BloomFilter filter)
Copies filter into this.
|
void |
Peer.setBloomFilter(BloomFilter filter)
Sets a Bloom filter on this connection.
|
void |
Peer.setBloomFilter(BloomFilter filter,
boolean andQueryMemPool)
Sets a Bloom filter on this connection.
|
Modifier and Type | Field and Description |
---|---|
BloomFilter |
FilterMerger.Result.filter |
Modifier and Type | Method and Description |
---|---|
BloomFilter |
FilterMerger.getLastFilter() |
Modifier and Type | Method and Description |
---|---|
BloomFilter |
Wallet.getBloomFilter(double falsePositiveRate)
Gets a bloom filter that contains all of the public keys from this wallet, and which will provide the given
false-positive rate.
|
BloomFilter |
KeyChainGroup.getBloomFilter(int size,
double falsePositiveRate,
long nTweak) |
BloomFilter |
Wallet.getBloomFilter(int size,
double falsePositiveRate,
long nTweak)
Gets a bloom filter that contains all of the public keys from this wallet, and which will provide the given
false-positive rate if it has size elements.
|
BloomFilter |
MarriedKeyChain.getFilter(int size,
double falsePositiveRate,
long tweak) |
BloomFilter |
DeterministicKeyChain.getFilter(int size,
double falsePositiveRate,
long tweak) |
BloomFilter |
KeyChain.getFilter(int size,
double falsePositiveRate,
long tweak)
Gets a bloom filter that contains all of the public keys from this chain, and which will provide the given
false-positive rate if it has size elements.
|
BloomFilter |
BasicKeyChain.getFilter(int size,
double falsePositiveRate,
long tweak) |
Copyright © 2018. All rights reserved.