diff --git a/crates/esplora/src/async_ext.rs b/crates/esplora/src/async_ext.rs index 2b38289526..465900d262 100644 --- a/crates/esplora/src/async_ext.rs +++ b/crates/esplora/src/async_ext.rs @@ -492,7 +492,8 @@ where let mut update = TxUpdate::::default(); // make sure txs exists in graph and tx statuses are updated - // TODO: We should maintain a tx cache (like we do with Electrum). + // TODO: The per-outpoint get_output_status round trips can be optimized. + // A tx cache does not apply in this scenario. update.extend( fetch_txs_with_txids( client, diff --git a/crates/esplora/src/blocking_ext.rs b/crates/esplora/src/blocking_ext.rs index 225b574ea4..157aa0b145 100644 --- a/crates/esplora/src/blocking_ext.rs +++ b/crates/esplora/src/blocking_ext.rs @@ -451,7 +451,8 @@ fn fetch_txs_with_outpoints>( let mut update = TxUpdate::::default(); // make sure txs exists in graph and tx statuses are updated - // TODO: We should maintain a tx cache (like we do with Electrum). + // TODO: The per-outpoint get_output_status round trips can be optimized. + // A tx cache does not apply in this scenario. update.extend(fetch_txs_with_txids( client, start_time,