mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
whisper: Status message changed, more params added
This commit is contained in:
parent
9ecbc535c7
commit
b493e462aa
1 changed files with 0 additions and 7 deletions
|
|
@ -273,13 +273,6 @@ func (w *Whisper) SetMinimumPowTest(val float64) {
|
|||
w.settings.Store(minPowToleranceIdx, val)
|
||||
}
|
||||
|
||||
// SetBloomFilterTest sets the Bloom Filter in test environment
|
||||
func (w *Whisper) SetBloomFilterTest(bloom []byte) {
|
||||
w.settings.Store(bloomFilterIdx, bloom)
|
||||
w.notifyPeersAboutBloomFilterChange(bloom)
|
||||
w.settings.Store(bloomFilterToleranceIdx, bloom)
|
||||
}
|
||||
|
||||
func (w *Whisper) notifyPeersAboutPowRequirementChange(pow float64) {
|
||||
arr := w.getPeers()
|
||||
for _, p := range arr {
|
||||
|
|
|
|||
Loading…
Reference in a new issue