• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bitcoindevkit / bdk / 5398026791

pending completion
5398026791

Pull #1002

github

web-flow
Merge 8272aa35d into 26ade1172
Pull Request #1002: Implement linked-list `LocalChain` and add rpc-chain module/example

681 of 681 new or added lines in 9 files covered. (100.0%)

7903 of 10220 relevant lines covered (77.33%)

5078.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/crates/chain/src/descriptor_ext.rs
1
use crate::miniscript::{Descriptor, DescriptorPublicKey};
2

3
/// A trait to extend the functionality of a miniscript descriptor.
4
pub trait DescriptorExt {
5
    /// Returns the minimum value (in satoshis) at which an output is broadcastable.
6
    fn dust_value(&self) -> u64;
7
}
8

9
impl DescriptorExt for Descriptor<DescriptorPublicKey> {
10
    fn dust_value(&self) -> u64 {
×
11
        self.at_derivation_index(0)
×
12
            .script_pubkey()
×
13
            .dust_value()
×
14
            .to_sat()
×
15
    }
×
16
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc