Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
block chain management and the Wallet class. |
Modifier and Type | Method and Description |
---|---|
BloomFilter.BloomUpdate |
BloomFilter.getUpdateFlag()
The update flag controls how application of the filter to a block modifies the filter.
|
static BloomFilter.BloomUpdate |
BloomFilter.BloomUpdate.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BloomFilter.BloomUpdate[] |
BloomFilter.BloomUpdate.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
BloomFilter(int elements,
double falsePositiveRate,
long randomNonce,
BloomFilter.BloomUpdate updateFlag)
Constructs a new Bloom Filter which will provide approximately the given false positive rate when the given
number of elements have been inserted.
|
Copyright © 2014. All rights reserved.