Cache the cost to aggregate

This commit is contained in:
Luke Parker
2024-08-28 23:45:17 -04:00
parent 04a971a024
commit 612c67c537
2 changed files with 21 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ pub trait ScannerFeed: 'static + Send + Sync + Clone {
async fn cost_to_aggregate(
&self,
coin: Coin,
block_number: u64,
reference_block: &Self::Block,
) -> Result<Amount, Self::EphemeralError>;
/// The dust threshold for the specified coin.