Skip to main content

TxOutExt

Trait TxOutExt 

Source
pub trait TxOutExt: Borrow<TxOut> {
    // Provided methods
    fn is_p2a_fee_anchor(&self) -> bool { ... }
    fn is_standard(&self) -> bool { ... }
}
Expand description

Extension trait for TxOut.

Provided Methods§

Source

fn is_p2a_fee_anchor(&self) -> bool

Check whether this output is a p2a fee anchor.

Source

fn is_standard(&self) -> bool

Basic standardness check. Might be too strict.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TxOutExt for TxOut

Implementors§