Skip to content

Commit

Permalink
Merge pull request #99 from rustaceanrob/exports-1-22
Browse files Browse the repository at this point in the history
Release `0.7.0`
  • Loading branch information
rustaceanrob authored Jan 22, 2025
2 parents 3a31222 + a2c84d6 commit f78f37a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bdk_kyoto"
version = "0.6.0"
version = "0.7.0"
authors = ["Rob <[email protected]>", "Bitcoin Dev Kit Developers"]
description = "BDK blockchain integration using P2P light client Kyoto"
license = "MIT OR Apache-2.0"
Expand Down
10 changes: 2 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ use bdk_wallet::KeychainKind;
pub extern crate kyoto;

pub use kyoto::core::builder::NodeDefault;
pub use kyoto::FeeRate;
pub use kyoto::Requester;
pub use kyoto::{DisconnectedHeader, RejectPayload};
pub use kyoto::{
Log, NodeState, ScriptBuf, SyncUpdate, TxBroadcast, TxBroadcastPolicy, Txid, Warning,
FeeRate, Log, NodeState, RejectPayload, RejectReason, Requester, ScriptBuf, SyncUpdate,
TxBroadcast, TxBroadcastPolicy, Txid, Warning,
};

use kyoto::Receiver;
Expand Down Expand Up @@ -100,10 +98,6 @@ impl UpdateSubscriber {
/// Return the most recent update from the node once it has synced to the network's tip.
/// This may take a significant portion of time during wallet recoveries or dormant wallets.
/// Note that you may call this method in a loop as long as the node is running.
///
/// A reference to a [`NodeEventHandler`] is required, which handles events emitted from a
/// running node. Production applications should define how the application handles
/// these events and displays them to end users.
pub async fn update(&mut self) -> Option<Update> {
while let Some(message) = self.receiver.recv().await {
match message {
Expand Down

0 comments on commit f78f37a

Please sign in to comment.