solana/sdk
Trent Nelson 90bedd7e06
Split signature throughput tracking out of `FeeCalculator` (#8447)
* SDK: Split new `FeeRateGovernor` out of `FeeCalculator`

Leaving `FeeCalculator` to *only* calculate transaction fees

* Replace `FeeCalculator` with `FeeRateGovernor` as appropriate

* Expose recent `FeeRateGovernor` to clients

* Move `burn()` back into `FeeCalculator`

Appease BPF tests

* Revert "Move `burn()` back into `FeeCalculator`"

This reverts commit f3035624307196722b62ff8b74c12cfcc13b1941.

* Adjust BPF `Fee` sysvar test to reflect removal of `burn()` from `FeeCalculator`

* Make `FeeRateGovernor`'s `lamports_per_signature` private

* rebase artifacts

* fmt

* Drop 'Recent'

* Drop _with_commitment variant

* Use a more portable integer for `target_signatures_per_slot`

* Add docs for `getReeRateCalculator` JSON RPC method

* Don't return `lamports_per_signature` in `getFeeRateGovernor` JSONRPC reply
2020-02-28 13:27:01 -07:00
..
benches Add slot_history for slashing (#7589) 2019-12-23 12:23:45 -08:00
bpf Improve install messaging (#8477) 2020-02-27 14:07:36 -08:00
docker-solana Publish solana-docker releases (#7460) 2019-12-12 16:15:31 -08:00
macro Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
src Split signature throughput tracking out of `FeeCalculator` (#8447) 2020-02-28 13:27:01 -07:00
.gitignore tmp dirs target to farf (#5079) 2019-07-12 18:28:42 -07:00
Cargo.toml Fix SDK deps 2020-02-24 17:25:48 -07:00