go-ethereum/les/vflux/client
Martin Holst Swende 4d3525610e
all: remove deprecated uses of math.rand (#26710)
This PR is a (superior) alternative to https://github.com/ethereum/go-ethereum/pull/26708, it handles deprecation, primarily two specific cases. 

`rand.Seed` is typically used in two ways
- `rand.Seed(time.Now().UnixNano())` -- we seed it, just to be sure to get some random, and not always get the same thing on every run. This is not needed, with global seeding, so those are just removed. 
- `rand.Seed(1)` this is typically done to ensure we have a stable test. If we rely on this, we need to fix up the tests to use a deterministic prng-source. A few occurrences like this has been replaced with a proper custom source. 

`rand.Read` has been replaced by `crypto/rand`.`Read` in this PR.
2023-02-16 14:36:58 -05:00
..
api.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
fillset_test.go all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
fillset.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
queueiterator_test.go les: move server pool to les/vflux/client (#22377) 2021-02-25 21:08:34 +01:00
queueiterator.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
requestbasket_test.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
requestbasket.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
serverpool_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
serverpool.go all: fix docstrings 2022-10-04 09:18:02 +02:00
timestats_test.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
timestats.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
valuetracker_test.go les: move server pool to les/vflux/client (#22377) 2021-02-25 21:08:34 +01:00
valuetracker.go all: fix docstrings 2022-10-04 09:18:02 +02:00
wrsiterator_test.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
wrsiterator.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00