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

source§

impl IsDust for Amount

source§

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

Implementors§