Module solana_runtime::cost_model
source · Expand description
’cost_model` provides service to estimate a transaction’s cost following proposed fee schedule #16984; Relevant cluster cost measuring is described by #19627
The main function is calculate_cost
which returns &TransactionCost.