mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
Fix a few minor typos.
This commit is contained in:
parent
2c44a4fad7
commit
1277df32d8
@ -157,7 +157,7 @@ public class BloomFilter extends Message {
|
||||
}
|
||||
|
||||
private int ROTL32 (int x, int r) {
|
||||
return (x << r) | (x >>> (32 - r));
|
||||
return (x << r) | (x >>> (32 - r));
|
||||
}
|
||||
|
||||
private int hash(int hashNum, byte[] object) {
|
||||
|
@ -673,8 +673,8 @@ public class PeerGroup extends AbstractIdleService implements TransactionBroadca
|
||||
* Be careful regenerating the bloom filter too often, as it decreases anonymity because remote nodes can
|
||||
* compare transactions against both the new and old filters to significantly decrease the false positive rate.
|
||||
*
|
||||
* See the docs for {@link BloomFilter#BloomFilter(int, double, long)} for a brief explanation of anonymity when
|
||||
* using bloom filters.
|
||||
* See the docs for {@link BloomFilter#BloomFilter(int, double, long, BloomFilter.BloomUpdate)} for a brief
|
||||
* explanation of anonymity when using bloom filters.
|
||||
*/
|
||||
public void setBloomFilterFalsePositiveRate(double bloomFilterFPRate) {
|
||||
lock.lock();
|
||||
|
@ -2887,7 +2887,7 @@ public class Wallet implements Serializable, BlockChainListener {
|
||||
if (out.isMine(this) && out.getScriptPubKey().isSentToRawPubKey())
|
||||
size++;
|
||||
} catch (ScriptException e) {
|
||||
throw new RuntimeException(e); // If it is ours, we parsed the script corectly, so this shouldn't happen
|
||||
throw new RuntimeException(e); // If it is ours, we parsed the script correctly, so this shouldn't happen
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2932,7 +2932,7 @@ public class Wallet implements Serializable, BlockChainListener {
|
||||
filter.insert(outPoint.bitcoinSerialize());
|
||||
}
|
||||
} catch (ScriptException e) {
|
||||
throw new RuntimeException(e); // If it is ours, we parsed the script corectly, so this shouldn't happen
|
||||
throw new RuntimeException(e); // If it is ours, we parsed the script correctly, so this shouldn't happen
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user