Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Sep 27, 2024
1 parent e64bf2c commit 29b723f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/exex/exex/src/wal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use reth_tracing::tracing::{debug, instrument};
///
/// WAL is backed by a directory of binary files represented by [`Storage`] and a block cache
/// represented by [`BlockCache`]. The role of the block cache is to avoid walking the WAL directory
/// and decoding notifications every time we want to rollback/finalize the WAL.
/// and decoding notifications every time we want to iterate or finalize the WAL.
///
/// The expected mode of operation is as follows:
/// 1. On every new canonical chain notification, call [`Wal::commit`].
Expand Down Expand Up @@ -60,6 +60,7 @@ impl Wal {
}
}

/// Inner type for the WAL.
#[derive(Debug)]
struct WalInner {
/// The underlying WAL storage backed by a file.
Expand Down

0 comments on commit 29b723f

Please sign in to comment.