mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 07:17:56 -05:00
cleanup comment
This commit is contained in:
@@ -149,13 +149,6 @@ impl DeferredTrieData {
|
||||
/// 3. Otherwise, rebuild overlay from ancestors (rare fallback)
|
||||
/// 4. Extend the overlay with this block's sorted data
|
||||
///
|
||||
/// # Why `anchor_hash` mismatch is safe
|
||||
/// The parent's overlay can be reused even when `anchor_hash` differs because:
|
||||
/// - Persisted blocks are removed from memory BEFORE new blocks are validated
|
||||
/// - The `ancestors` slice only contains unpersisted blocks
|
||||
/// - Parent's overlay only has data from blocks still in the ancestors list
|
||||
/// - The `anchor_hash` is just metadata, not a correctness constraint for the overlay data
|
||||
///
|
||||
/// Used by both the async background task and the synchronous fallback path.
|
||||
///
|
||||
/// # Arguments
|
||||
|
||||
Reference in New Issue
Block a user