solana/sdk
behzad nouri cafa85bfbb
includes shred-type when computing turbine broadcast seed (#25556)
Indices for code and data shreds of the same slot overlap; and so they
will have the same random number generator seed when shuffling cluster
nodes for turbine broadcast.

This results in the same propagation path for code and data shreds of
the same index and effectively smaller sample size for re-transmitter
nodes. For example a 32:32 batch (32 code + 32 data shreds), is
retransmitted through _at most_ 32 unique nodes, whereas ideally we want
~64 unique re-transmitters.

This commit adds shred-type to seed function so that code and data
sherds of the same (slot, index) will (most likely) have different
propagation paths.
2022-05-25 20:31:53 +00:00
..
benches Refactor: move instructions sysvar serialization out of Message (#22544) 2022-01-20 17:33:49 +08:00
bpf Disallow deployment of deprecated _sol_alloc_free syscall (#25179) 2022-05-20 13:19:41 -07:00
cargo-build-bpf chore: bump regex from 1.5.5 to 1.5.6 (#25488) 2022-05-23 13:45:43 -06:00
cargo-test-bpf sdk: Add --jobs parameter in build/test bpf (#24359) 2022-04-15 13:49:43 +02:00
docker-solana Fix solana docker image 2021-10-09 20:35:39 +01:00
gen-headers chore: bump regex from 1.5.5 to 1.5.6 (#25488) 2022-05-23 13:45:43 -06:00
macro Add Ident case (#24390) 2022-04-15 16:27:25 -06:00
program typo (#25479) 2022-05-23 18:42:43 +00:00
src includes shred-type when computing turbine broadcast seed (#25556) 2022-05-25 20:31:53 +00:00
tests fix: renamed the internal wasm_bindgen init function to avoid collision 2022-03-10 11:33:24 -08:00
.gitignore Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00
Cargo.toml chore: bump log from 0.4.16 to 0.4.17 (#24987) 2022-05-05 01:49:18 +00:00
README.md Add new logos to README files and docs (#20049) 2021-09-21 13:35:36 -06:00
build.rs
package.json Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00

README.md

Solana

Solana SDK

Use the Solana SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Solana Program Crate instead.

More information about Solana is available in the Solana documentation.

The Solana Program Library provides examples of how to use this crate.

Still have questions? Ask us on Discord