solana/core
behzad nouri 40914de811 updates cluster-slots with root-bank instead of root-slot + bank-forks
ClusterSlots::update is taking both root-slot and bank-forks only to
later lookup root-bank from bank-forks, which is redundant. Also
potentially by the time bank-forks is locked to obtain root-bank,
root-slot may have already changed and so be inconsistent with the
root-slot passed in as the argument.
https://github.com/solana-labs/solana/blob/6d95d679c/core/src/cluster_slots.rs#L32-L39
https://github.com/solana-labs/solana/blob/6d95d679c/core/src/cluster_slots.rs#L122
2021-08-05 14:43:06 +00:00
..
benches Bank::new -> Bank::new_for_benches (#19063) 2021-08-04 17:30:43 -05:00
src updates cluster-slots with root-bank instead of root-slot + bank-forks 2021-08-05 14:43:06 +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 Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00