/// This function will check all stxo to ensure that feature flags where followed
This function will check all stxo to ensure that feature flags where followed
This function will check all stxo to ensure that feature flags where followed
pub fn check_stxo_rules(&self, height: u64) -> Result<(), TransactionError> {
        for input in self.inputs() {
            if input.features.maturity > height {
                warn!(
                    target: LOG_TARGET,
                    "Input found that has not yet matured to spending height: {}", input
                );
                return Err(TransactionError::InputMaturity);
            }
        }
        Ok(())
    }
pub fn check_stxo_rules ( & self , height : u64 ) -> Result < ( ) , TransactionError > { for input in self . inputs ( ) { if input . features . maturity > height { warn ! ( target LOG_TARGET " " input ) ; return Err ( TransactionError :: InputMaturity ) ; } } Ok ( ( ) ) }
This function will check all stxo to ensure that feature flags where followed
This function will check all stxo to ensure that feature flags where followed
&self
height
u64