solana-with-rpc-optimizations/programs/bpf/rust
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
..
128bit Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
128bit_dep Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
alloc Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
dep_crate Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
dup_accounts Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
error_handling Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
external_spend Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
iter Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
many_args Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
many_args_dep Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
noop Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
panic Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
param_passing Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
param_passing_dep Update cargo versions from 1.0 to 1.1 (#8397) 2020-02-21 23:09:45 -08:00
sysval Split signature throughput tracking out of `FeeCalculator` (#8447) 2020-02-28 13:27:01 -07:00
do.sh BPF script nits (#6405) 2019-10-16 15:35:16 -07:00