solana/storage-proto
Tao Zhu 11153e1f87
refactor cost calculation (#21062)
* - cache calculated transaction cost to allow sharing;
- atomic cost tracking op;
- only lock accounts for transactions eligible for current block;
- moved qos service and stats reporting to its own model;
- add cost_weight default to neutral (as 1), vote has zero weight;

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

* Update core/src/qos_service.rs

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

* Update core/src/qos_service.rs

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-11-12 01:04:53 -06:00
..
proto refactor cost calculation (#21062) 2021-11-12 01:04:53 -06:00
src refactor cost calculation (#21062) 2021-11-12 01:04:53 -06:00
Cargo.toml chore: bump tonic from 0.5.2 to 0.6.1 (#21035) 2021-10-28 06:59:36 +00:00
README.md storage-proto: Rework source generation 2021-07-10 19:51:38 -06:00
build.rs storage-proto: Rework source generation 2021-07-10 19:51:38 -06:00

README.md

Storage Protobufs

The solana-storage-proto structs used in src/convert.rs and elsewhere are auto-generated from protobuf definitions on build. To update these structs, simply make the desired edits to proto/*.proto files.