pub fn has_valid_coinbase_transaction_inputs(&self) -> bool {
        self.inputs().len() == 1
            && matches!(
                self.inputs().get(0),
                Some(transparent::Input::Coinbase { .. })
            )
    }
/// Returns `true` if this transaction has valid inputs for a coinbase
/// transaction, that is, has a single input and it is a coinbase input.
Returns `true` if this transaction has valid inputs for a coinbase
transaction, that is, has a single input and it is a coinbase input.
Returns ` true ` if this transaction has valid inputs for a coinbase transaction that is has a single input and it is a coinbase input .
pub fn has_valid_coinbase_transaction_inputs(&self) -> bool {
        self.inputs().len() == 1
            && matches!(
                self.inputs().get(0),
                Some(transparent::Input::Coinbase { .. })
            )
    }
pub fn has_valid_coinbase_transaction_inputs ( & self ) -> bool { self . inputs ( ) . len ( ) == 1 && matches ! ( self inputs ( ) get ( 0 ) Some ( transparent Input Coinbase { } ) ) }
Returns `true` if this transaction has valid inputs for a coinbase
transaction, that is, has a single input and it is a coinbase input.
Returns ` true ` if this transaction has valid inputs for a coinbase transaction that is has a single input and it is a coinbase input .
&self