pub struct PrioritizationFee { /* private fields */ }
Expand description
Block minimum prioritization fee stats, includes the minimum prioritization fee for a transaction in this block; and the minimum fee for each writable account in all transactions in this block. The only relevant write account minimum fees are those greater than the block minimum transaction fee, because the minimum fee needed to land a transaction is determined by Max( min_transaction_fee, min_writable_account_fees(key), …)
Implementations§
source§impl PrioritizationFee
impl PrioritizationFee
sourcepub fn update(
&mut self,
transaction_fee: u64,
writable_accounts: &[Pubkey]
) -> Result<(), PrioritizationFeeError>
pub fn update( &mut self, transaction_fee: u64, writable_accounts: &[Pubkey] ) -> Result<(), PrioritizationFeeError>
Update self for minimum transaction fee in the block and minimum fee for each writable account.