Benign crates 1,164,964 installs Download

bdk_core 0.1.0

“Collection of core structures for Bitcoin Dev Kit.”

imports bitcoinimports bitcoin::OutPoint
SHA-25678dd27e151907dadd43f2d17d14ff613331ffd6c3eb8838d0b38976c8588b2fa
MaleculeH₂(Cm₃F)

Evidence

imports bitcoin::OutPoint spk_client.rs · lines 1–14
1//! Helper types for spk-based blockchain clients.
2use crate::{
3 alloc::{boxed::Box, collections::VecDeque, vec::Vec},
4 collections::BTreeMap,
5 CheckPoint, ConfirmationBlockTime, Indexed,
6};
7use bitcoin::{OutPoint, Script, ScriptBuf, Txid};
8
9type InspectSync<I> = dyn FnMut(SyncItem<I>, SyncProgress) + Send + 'static;
10
11type InspectFullScan<K> = dyn FnMut(K, u32, &Script) + Send + 'static;
12
13/// An item reported to the [`inspect`](SyncRequestBuilder::inspect) closure of [`SyncRequest`].
14#[derive(Clone, Copy, Debu …
Reference to Apple Keychain data spk_client.rs · lines 148–150
148:44… dexer. This time, spks may be derived from different
149 /// // keychains. Each spk will be indexed with `(&'static str, u32)` where `&'static str` is
150 /// // the keychain identifier and `u32` is th …
imports bitcoin lib.rs · lines 1–21
1//! This crate is a collection of core structures for [Bitcoin Dev Kit].
2
3// only enables the `doc_cfg` feature when the `docsrs` configuration attribute is defined
4#![cfg_attr(docsrs, feature(doc_cfg))]
5#![cfg_attr(
6 docsrs,
7 doc(html_logo_url = "https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png")
8)]
9#![no_std]
10#![warn(missing_docs)]
11
12pub use bitcoin;
13
14#[allow(unused_imports)]
⋯7 lines
imports alloc::collections::btree_map as hash_map lib.rs · lines 35–41
35:51… TreeMap<K, V>;
36 pub use alloc::collections::{btree_map as hash_map, *};
37}
38
39// When we have std, use `std`'s all collections
40#[cfg(all(feature = "std", not(feature = "hashbrown")))]
41#[doc …
imports std::collections::hash_map lib.rs · lines 42–50
42:6… od collections {
43 pub use std::collections::{hash_map, *};
44}
45
46// With this special feature `hashbrown`, use `hashbrown`'s hash collections, and else from `alloc`.
47#[cfg(feature = "hashbrown")]
48#[doc(hidden)]
49pub mod collections {
50 #![al …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.