@@ -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 > ,
@@ -55,18 +55,18 @@ pub trait EsploraExt {
5555 parallel_requests : usize ,
5656 ) -> Result < ( TxGraph < ConfirmationTimeAnchor > , BTreeMap < K , u32 > ) , Error > ;
5757
58- /// Convenience method to call [`update_tx_graph `] without requiring a keychain.
58+ /// Convenience method to call [`scan_txs_with_keychains `] without requiring a keychain.
5959 ///
60- /// [`update_tx_graph `]: EsploraExt::update_tx_graph
60+ /// [`scan_txs_with_keychains `]: EsploraExt::scan_txs_with_keychains
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