File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ workspace = true
1717
1818[dependencies ]
1919bitcoin = { version = " 0.32.0" , default-features = false }
20- bdk-bitcoind-client ={ git = " https://github.com/bitcoindevkit/bdk-bitcoind-client" , rev = " 06526db5c25047b61d29f81b25cfee7bd0f3abc8 " }
20+ bdk_bitcoind_client ={ git = " https://github.com/bitcoindevkit/bdk-bitcoind-client" , branch = " master " }
2121bdk_core = { path = " ../core" , version = " 0.6.1" , default-features = false }
2222
2323[dev-dependencies ]
@@ -29,7 +29,9 @@ bdk_chain = { path = "../chain" }
2929default = [" std" , " bitcoind_28_0" ]
3030std = [" bitcoin/std" , " bdk_core/std" ]
3131serde = [" bitcoin/serde" , " bdk_core/serde" ]
32- bitcoind_28_0 =[" bdk-bitcoind-client/28_0" ]
32+ bitcoind_28_0 =[" bdk_bitcoind_client/28_0" ]
33+ bitcoind_29_0 = [" bdk_bitcoind_client/29_0" ]
34+ bitcoind_30_0 = [" bdk_bitcoind_client/30_0" ]
3335
3436[[example ]]
3537name = " filter_iter"
Original file line number Diff line number Diff line change @@ -366,28 +366,6 @@ fn poll(
366366 }
367367}
368368
369- /// Extends [`bdk_bitcoind_client::Error`].
370- pub trait BitcoindRpcErrorExt {
371- /// Returns whether the error is a "not found" error.
372- ///
373- /// This is useful since [`Emitter`] emits [`Result<_, bdk_bitcoind_client::Error>`]s as
374- /// [`Iterator::Item`].
375- fn is_not_found_error ( & self ) -> bool ;
376- }
377-
378- impl BitcoindRpcErrorExt for bdk_bitcoind_client:: Error {
379- fn is_not_found_error ( & self ) -> bool {
380- if let bdk_bitcoind_client:: Error :: JsonRpc ( bdk_bitcoind_client:: jsonrpc:: Error :: Rpc (
381- rpc_err,
382- ) ) = self
383- {
384- rpc_err. code == -5
385- } else {
386- false
387- }
388- }
389- }
390-
391369#[ cfg( test) ]
392370#[ cfg_attr( coverage_nightly, coverage( off) ) ]
393371mod test {
You can’t perform that action at this time.
0 commit comments