@@ -46,7 +46,7 @@ pub trait EsploraExt {
4646 /// transactions. `parallel_requests` specifies the max number of HTTP requests to make in
4747 /// parallel.
4848 #[ allow( clippy:: result_large_err) ]
49- fn update_tx_graph < K : Ord + Clone > (
49+ fn scan_txs_with_keychains < K : Ord + Clone > (
5050 & self ,
5151 keychain_spks : BTreeMap < K , impl IntoIterator < Item = ( u32 , ScriptBuf ) > > ,
5252 txids : impl IntoIterator < Item = Txid > ,
@@ -59,14 +59,14 @@ pub trait EsploraExt {
5959 ///
6060 /// [`update_tx_graph`]: EsploraExt::update_tx_graph
6161 #[ allow( clippy:: result_large_err) ]
62- fn update_tx_graph_without_keychain (
62+ fn scan_txs (
6363 & self ,
6464 misc_spks : impl IntoIterator < Item = ScriptBuf > ,
6565 txids : impl IntoIterator < Item = Txid > ,
6666 outpoints : impl IntoIterator < Item = OutPoint > ,
6767 parallel_requests : usize ,
6868 ) -> Result < TxGraph < ConfirmationTimeAnchor > , Error > {
69- self . update_tx_graph (
69+ self . scan_txs_with_keychains (
7070 [ (
7171 ( ) ,
7272 misc_spks
@@ -192,7 +192,7 @@ impl EsploraExt for esplora_client::BlockingClient {
192192 } )
193193 }
194194
195- fn update_tx_graph < K : Ord + Clone > (
195+ fn scan_txs_with_keychains < K : Ord + Clone > (
196196 & self ,
197197 keychain_spks : BTreeMap < K , impl IntoIterator < Item = ( u32 , ScriptBuf ) > > ,
198198 txids : impl IntoIterator < Item = Txid > ,
0 commit comments