pub trait EstimatePredicates: Sized {
    // Required method
    fn estimate_predicates(
        &mut self,
        params: &ConsensusParameters,
        gas_costs: &GasCosts
    ) -> Result<(), CheckError>;
}
Expand description

Provides predicate estimation functionality for the transaction.

Required Methods§

source

fn estimate_predicates( &mut self, params: &ConsensusParameters, gas_costs: &GasCosts ) -> Result<(), CheckError>

Estimates predicates of the transaction.

Implementations on Foreign Types§

source§

impl EstimatePredicates for Transaction

source§

fn estimate_predicates( &mut self, params: &ConsensusParameters, gas_costs: &GasCosts ) -> Result<(), CheckError>

Implementors§