solana-with-rpc-optimizations/gossip
behzad nouri f302774cf7
implements copy-on-write for staked-nodes (#19090)
Bank::staked_nodes and Bank::epoch_staked_nodes redundantly clone
staked-nodes HashMap even though an immutable reference will suffice:
https://github.com/solana-labs/solana/blob/a9014cece/runtime/src/vote_account.rs#L77

This commit implements copy-on-write semantics for staked-nodes by
wrapping the underlying HashMap in Arc<...>.
2021-08-10 12:59:12 +00:00
..
benches
src implements copy-on-write for staked-nodes (#19090) 2021-08-10 12:59:12 +00:00
tests for all tests, bank::new -> bank::new_for_tests (#19064) 2021-08-05 08:42:38 -05:00
.gitignore
Cargo.toml chore: bump serde from 1.0.126 to 1.0.127 (#19010) 2021-08-02 21:16:34 +00:00
build.rs