solana/core
Ryo Onodera de4a613610
Check bank capitalization (#11927)
* Check bank capitalization

* Simplify and unify capitalization calculation

* Improve and add tests

* Avoid overflow and inhibit automatic restart

* Fix test

* Tweak checked sum for cap. and add tests

* Fix broken build after merge conflicts..

* Rename to ClusterType

* Rename confusing method

* Clarify comment

* Verify cap. in rent and inflation tests

Co-authored-by: Stephen Akridge <sakridge@gmail.com>
2020-09-12 01:48:06 +09:00
..
benches uses rust intrinsics to convert hashes to u64 (#12097) 2020-09-09 15:28:17 +00:00
src Check bank capitalization (#11927) 2020-09-12 01:48:06 +09:00
tests Rename to ClusterType and restore devnet compat. (#12068) 2020-09-08 23:55:09 +09:00
.gitignore tmp dirs target to farf (#5079) 2019-07-12 18:28:42 -07:00
Cargo.toml uses rust intrinsics to convert hashes to u64 (#12097) 2020-09-09 15:28:17 +00:00
build.rs Introduce automatic ABI maintenance mechanism (2/2; rollout) (#8012) 2020-07-06 20:22:23 +09:00