mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Add JavaDocs for the new PeerGroup methods added by Oscar.
This commit is contained in:
parent
2c5d9f73ed
commit
f693d88620
@ -1913,10 +1913,16 @@ public class PeerGroup implements TransactionBroadcaster {
|
||||
return vRunning;
|
||||
}
|
||||
|
||||
/**
|
||||
* Can be used to disable Bloom filtering entirely, even in SPV mode. You are very unlikely to need this, it is
|
||||
* an optimisation for rare cases when full validation is not required but it's still more efficient to download
|
||||
* full blocks than filtered blocks.
|
||||
*/
|
||||
public void setBloomFilteringEnabled(boolean bloomFilteringEnabled) {
|
||||
this.vBloomFilteringEnabled = bloomFilteringEnabled;
|
||||
}
|
||||
|
||||
/** Returns whether the Bloom filtering protocol optimisation is in use: defaults to true. */
|
||||
public boolean isBloomFilteringEnabled() {
|
||||
return vBloomFilteringEnabled;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user