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

bitcoindevkit / bdk / 5119600689

pending completion
5119600689

Pull #976

github

web-flow
Merge 250458ae0 into 9bc7fe855
Pull Request #976: Reimplement `Wallet`, `ElectrumExt` and `Esplora{Async}Ext` with redesigned structures.

909 of 909 new or added lines in 13 files covered. (100.0%)

7569 of 9556 relevant lines covered (79.21%)

5314.36 hits per line

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

11.11
/crates/esplora/src/lib.rs
1
#![doc = include_str!("../README.md")]
1✔
2
use bdk_chain::{BlockId, ConfirmationTimeAnchor};
3
use esplora_client::TxStatus;
4

5
pub use esplora_client;
6

7
#[cfg(feature = "blocking")]
8
mod blocking_ext;
9
#[cfg(feature = "blocking")]
10
pub use blocking_ext::*;
11

12
#[cfg(feature = "async")]
13
mod async_ext;
14
#[cfg(feature = "async")]
15
pub use async_ext::*;
16

17
pub(crate) fn map_confirmation_time_anchor(
18
    tx_status: &TxStatus,
19
    tip_at_start: BlockId,
20
) -> Option<ConfirmationTimeAnchor> {
21
    match (tx_status.block_time, tx_status.block_height) {
×
22
        (Some(confirmation_time), Some(confirmation_height)) => Some(ConfirmationTimeAnchor {
×
23
            anchor_block: tip_at_start,
×
24
            confirmation_height,
×
25
            confirmation_time,
×
26
        }),
×
27
        _ => None,
×
28
    }
29
}
×
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