Return actual committed transactions from process_transactions() (backport #22802) (#22904)

* Return actual committed transactions from process_transactions()

* resolve conflicts

* fixup comment

* Fixup banking_stage-dropped_tx_before_forwarding counter

* Count cost model throttled transactions

* fixup tx_count moved

* Fixup tests

* remove qos service

* Cleanup clippy

Co-authored-by: Carl Lin <carl@solana.com>
This commit is contained in:
mergify[bot]
2022-02-04 03:52:11 +00:00
committed by GitHub
parent 430cdf679e
commit 70ec2cd244
4 changed files with 643 additions and 210 deletions

View File

@@ -428,8 +428,9 @@ fn setup_fee_calculator(bank: Bank) -> Bank {
bank.commit_transactions(
&[], // transactions
&mut [], // loaded accounts
&[], // transaction execution results
0, // tx count
vec![], // transaction execution results
0, // executed tx count
0, // executed with failure output tx count
1, // signature count
&mut ExecuteTimings::default(),
);