mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-14 09:13:03 +02:00
Fix typos
This commit is contained in:
committed by
Dimitris Apostolou
parent
00d1680498
commit
4d9b4256d8
@ -163,7 +163,7 @@ void test_cache_erase(size_t megabytes)
|
||||
for (uint32_t i = (n_insert / 2); i < n_insert; ++i)
|
||||
set.insert(hashes_insert_copy[i]);
|
||||
|
||||
/** elements that we marked erased but that are still there */
|
||||
/** elements that we marked as erased but are still there */
|
||||
size_t count_erased_but_contained = 0;
|
||||
/** elements that we did not erase but are older */
|
||||
size_t count_stale = 0;
|
||||
@ -303,7 +303,7 @@ void test_cache_generations()
|
||||
local_rand_ctx = FastRandomContext(true);
|
||||
|
||||
// block_activity models a chunk of network activity. n_insert elements are
|
||||
// adde to the cache. The first and last n/4 are stored for removal later
|
||||
// added to the cache. The first and last n/4 are stored for removal later
|
||||
// and the middle n/2 are not stored. This models a network which uses half
|
||||
// the signatures of recently (since the last block) added transactions
|
||||
// immediately and never uses the other half.
|
||||
|
Reference in New Issue
Block a user