From e592df2b3a9ac67313083210954a528c751d8b2a Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Thu, 28 Oct 2021 13:27:59 -0400 Subject: [PATCH] Add a note to mempool::Storage (#2964) --- zebrad/src/components/mempool/storage.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zebrad/src/components/mempool/storage.rs b/zebrad/src/components/mempool/storage.rs index bab2c9fb..8abda547 100644 --- a/zebrad/src/components/mempool/storage.rs +++ b/zebrad/src/components/mempool/storage.rs @@ -203,6 +203,9 @@ impl Storage { // > EvictTransaction (with the new transaction included as a candidate to evict) until the // > total cost does not exceed `mempooltxcostlimit`. // + // 'EvictTransaction' is equivalent to [`VerifiedSet::evict_one()`] in + // our implementation. + // // [ZIP-401]: https://zips.z.cash/zip-0401 while self.verified.total_cost() > self.tx_cost_limit { // > EvictTransaction MUST do the following: