go-ethereum/les/vflux/server
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
..
balance.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
balance_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
balance_tracker.go les/vflux: fixed panic and data races (#23865) 2021-11-08 10:29:59 +01:00
clientdb.go all: remove remaining uses of untyped golang-lru (#26194) 2022-11-17 11:15:28 +01:00
clientdb_test.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
clientpool.go all: fix spelling mistakes (#25961) 2022-10-11 09:37:00 +02:00
clientpool_test.go all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
metrics.go les/vflux/server: fix metrics (#22946) 2021-10-11 18:49:26 +02:00
prioritypool.go common/prque: generic priority queue (#26290) 2023-02-09 13:03:54 +02:00
prioritypool_test.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
service.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
status.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00