Rename the crate to just "magical"
This commit is contained in:
@@ -42,8 +42,8 @@
|
||||
//! ```no_run
|
||||
//! # use std::sync::Arc;
|
||||
//! # use bitcoin::*;
|
||||
//! # use magical_bitcoin_wallet::*;
|
||||
//! # use magical_bitcoin_wallet::blockchain::compact_filters::*;
|
||||
//! # use magical::*;
|
||||
//! # use magical::blockchain::compact_filters::*;
|
||||
//! let num_threads = 4;
|
||||
//!
|
||||
//! let mempool = Arc::new(Mempool::default());
|
||||
@@ -55,7 +55,7 @@
|
||||
//! ))
|
||||
//! .collect::<Result<_, _>>()?;
|
||||
//! let blockchain = CompactFiltersBlockchain::new(peers, "./wallet-filters", Some(500_000))?;
|
||||
//! # Ok::<(), magical_bitcoin_wallet::error::Error>(())
|
||||
//! # Ok::<(), magical::error::Error>(())
|
||||
//! ```
|
||||
|
||||
use std::collections::HashSet;
|
||||
|
||||
@@ -31,10 +31,10 @@
|
||||
//! ## Example
|
||||
//!
|
||||
//! ```no_run
|
||||
//! # use magical_bitcoin_wallet::blockchain::electrum::ElectrumBlockchain;
|
||||
//! # use magical::blockchain::electrum::ElectrumBlockchain;
|
||||
//! let client = electrum_client::Client::new("ssl://electrum.blockstream.info:50002", None)?;
|
||||
//! let blockchain = ElectrumBlockchain::from(client);
|
||||
//! # Ok::<(), magical_bitcoin_wallet::Error>(())
|
||||
//! # Ok::<(), magical::Error>(())
|
||||
//! ```
|
||||
|
||||
use std::collections::HashSet;
|
||||
|
||||
@@ -30,9 +30,9 @@
|
||||
//! ## Example
|
||||
//!
|
||||
//! ```no_run
|
||||
//! # use magical_bitcoin_wallet::blockchain::esplora::EsploraBlockchain;
|
||||
//! # use magical::blockchain::esplora::EsploraBlockchain;
|
||||
//! let blockchain = EsploraBlockchain::new("https://blockstream.info/testnet/");
|
||||
//! # Ok::<(), magical_bitcoin_wallet::Error>(())
|
||||
//! # Ok::<(), magical::Error>(())
|
||||
//! ```
|
||||
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
Reference in New Issue
Block a user