Trait bdk::wallet::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

Implementors§