trait TryUpdateBlockLimits {
    // Required method
    fn try_update_block_template_limits(
        &self,
        remaining_block_bytes: &mut usize,
        remaining_block_sigops: &mut u64,
        remaining_block_unpaid_actions: &mut u32,
    ) -> bool;
}

Required Methods§

source

fn try_update_block_template_limits( &self, remaining_block_bytes: &mut usize, remaining_block_sigops: &mut u64, remaining_block_unpaid_actions: &mut u32, ) -> bool

Checks if a transaction fits within the provided remaining block bytes, sigops, and unpaid actions limits.

Updates the limits and returns true if the transaction does fit, or returns false otherwise.

Implementations on Foreign Types§

source§

impl TryUpdateBlockLimits for VerifiedUnminedTx

source§

fn try_update_block_template_limits( &self, remaining_block_bytes: &mut usize, remaining_block_sigops: &mut u64, remaining_block_unpaid_actions: &mut u32, ) -> bool

Implementors§