bdk_wallet

Trait IsDust

Source
pub trait IsDust {
    // Required method
    fn is_dust(&self, script: &Script) -> bool;
}
Expand description

Trait to check if a value is below the dust limit. We are performing dust value calculation for a given script public key using rust-bitcoin to keep it compatible with network dust rate

Required Methods§

Source

fn is_dust(&self, script: &Script) -> bool

Check whether or not a value is below dust limit

Implementations on Foreign Types§

Source§

impl IsDust for u64

Source§

fn is_dust(&self, script: &Script) -> bool

Source§

impl IsDust for Amount

Source§

fn is_dust(&self, script: &Script) -> bool

Implementors§