solana/streamer/src
Jon Cinque 0fe902ced7
Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871)
* sdk: Add concurrent support for rand 0.7 and 0.8

* Update rand, rand_chacha, and getrandom versions

* Run command to replace `gen_range`

Run `git grep -l gen_range | xargs sed -i'' -e 's/gen_range(\(\S*\), /gen_range(\1../'

* sdk: Fix users of older `gen_range`

* Replace `hash::new_rand` with `hash::new_with_thread_rng`

Run:
```
git grep -l hash::new_rand | xargs sed -i'' -e 's/hash::new_rand([^)]*/hash::new_with_thread_rng(/'
```

* perf: Use `Keypair::new()` instead of `generate`

* Use older rand version in zk-token-sdk

* program-runtime: Inline random key generation

* bloom: Fix clippy warnings in tests

* streamer: Scope rng usage correctly

* perf: Fix clippy warning

* accounts-db: Map to char to generate a random string

* Remove `from_secret_key_bytes`, it's just `keypair_from_seed`

* ledger: Generate keypairs by hand

* ed25519-tests: Use new rand

* runtime: Use new rand in all tests

* gossip: Clean up clippy and inline keypair generators

* core: Inline keypair generation for tests

* Push sbf lockfile change

* sdk: Sort dependencies correctly

* Remove `hash::new_with_thread_rng`, use `Hash::new_unique()`

* Use Keypair::new where chacha isn't used

* sdk: Fix build by marking rand 0.7 optional

* Hardcode secret key length, add static assertion

* Unify `getrandom` crate usage to fix linking errors

* bloom: Fix tests that require a random hash

* Remove some dependencies, try to unify others

* Remove unnecessary uses of rand and rand_core

* Update lockfiles

* Add back some dependencies to reduce rebuilds

* Increase max rebuilds from 14 to 15

* frozen-abi: Remove `getrandom`

* Bump rebuilds to 17

* Remove getrandom from zk-token-proof
2023-08-21 19:11:21 +02:00
..
nonblocking Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871) 2023-08-21 19:11:21 +02:00
lib.rs Move QUIC TLS certificate code in its own file (#26569) 2022-07-12 13:34:37 -07:00
packet.rs Remove redundant inc_new_counter for num received packets (#32664) 2023-07-31 09:53:17 -06:00
quic.rs upgrades quinn and rustls crates (#32499) 2023-07-14 17:30:57 +00:00
recvmmsg.rs Add `MSG_WAITFORONE.try_into().unwrap()` to deal with different type signature on musl libc (#29369) 2023-01-25 13:40:14 +01:00
sendmmsg.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
socket.rs makes sockets in LegacyContactInfo private (#31248) 2023-04-21 15:39:16 +00:00
streamer.rs removes redundant recycler clones (#32401) 2023-07-06 18:25:20 +00:00
tls_certificates.rs passes through concrete QUIC connection errors up the call stack (#31168) 2023-04-12 19:53:25 +00:00