diff --git a/examples/signet.rs b/examples/signet.rs index 2544bd4..9253310 100644 --- a/examples/signet.rs +++ b/examples/signet.rs @@ -11,9 +11,7 @@ use bdk_chain::{ IndexedTxGraph, SpkIterator, }; use bdk_kyoto::logger::PrintLogger; -use bdk_kyoto::Client; -use kyoto::chain::checkpoints::HeaderCheckpoint; -use kyoto::core::builder::NodeBuilder; +use bdk_kyoto::{Client, HeaderCheckpoint, NodeBuilder}; const TARGET_INDEX: u32 = 20; diff --git a/examples/wallet.rs b/examples/wallet.rs index d5f9d1c..3126878 100644 --- a/examples/wallet.rs +++ b/examples/wallet.rs @@ -2,9 +2,9 @@ use std::net::{IpAddr, Ipv4Addr}; use bdk_kyoto::builder::LightClientBuilder; use bdk_kyoto::logger::TraceLogger; +use bdk_kyoto::{ServiceFlags, TrustedPeer}; use bdk_wallet::bitcoin::Network; use bdk_wallet::{KeychainKind, Wallet}; -use kyoto::{ServiceFlags, TrustedPeer}; /// Peer address whitelist const PEERS: &[IpAddr] = &[IpAddr::V4(Ipv4Addr::new(23, 137, 57, 100))]; diff --git a/src/lib.rs b/src/lib.rs index 06359f3..9b0e8c1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -149,7 +149,7 @@ pub mod logger; pub use bdk_chain::local_chain::MissingGenesisError; pub use kyoto::{ ClientError, DatabaseError, HeaderCheckpoint, Node, NodeBuilder, NodeMessage, NodeState, - Receiver, ScriptBuf, Transaction, TrustedPeer, TxBroadcastPolicy, Txid, Warning, + Receiver, ScriptBuf, ServiceFlags, Transaction, TrustedPeer, TxBroadcastPolicy, Txid, Warning, MAINNET_HEADER_CP, SIGNET_HEADER_CP, };