mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 03:35:52 +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) {
|
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) {
|
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
|
* 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.
|
* 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
|
* See the docs for {@link BloomFilter#BloomFilter(int, double, long, BloomFilter.BloomUpdate)} for a brief
|
||||||
* using bloom filters.
|
* explanation of anonymity when using bloom filters.
|
||||||
*/
|
*/
|
||||||
public void setBloomFilterFalsePositiveRate(double bloomFilterFPRate) {
|
public void setBloomFilterFalsePositiveRate(double bloomFilterFPRate) {
|
||||||
lock.lock();
|
lock.lock();
|
||||||
|
@ -2887,7 +2887,7 @@ public class Wallet implements Serializable, BlockChainListener {
|
|||||||
if (out.isMine(this) && out.getScriptPubKey().isSentToRawPubKey())
|
if (out.isMine(this) && out.getScriptPubKey().isSentToRawPubKey())
|
||||||
size++;
|
size++;
|
||||||
} catch (ScriptException e) {
|
} 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());
|
filter.insert(outPoint.bitcoinSerialize());
|
||||||
}
|
}
|
||||||
} catch (ScriptException e) {
|
} 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