/// This function will check spent kernel rules like tx lock height etc
This function will check spent kernel rules like tx lock height etc
This function will check spent kernel rules like tx lock height etc
pub fn check_kernel_rules(&self, height: u64) -> Result<(), TransactionError> {
        for kernel in self.kernels() {
            if kernel.lock_height > height {
                warn!(target: LOG_TARGET, "Kernel lock height was not reached: {}", kernel);
                return Err(TransactionError::InvalidKernel);
            }
        }
        Ok(())
    }
pub fn check_kernel_rules ( & self , height : u64 ) -> Result < ( ) , TransactionError > { for kernel in self . kernels ( ) { if kernel . lock_height > height { warn ! ( target LOG_TARGET " " kernel ) ; return Err ( TransactionError :: InvalidKernel ) ; } } Ok ( ( ) ) }
This function will check spent kernel rules like tx lock height etc
This function will check spent kernel rules like tx lock height etc
&self
height
u64