Skip to content

Commit

Permalink
feat: add blobstore file path functions (#5442)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Nov 15, 2023
1 parent 8207401 commit f9725a4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/reth/src/dirs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ impl<D> ChainPath<D> {
self.0.join("known-peers.json").into()
}

/// Returns the path to the blobstore directory for this chain where blobs of unfinalized
/// transactions are stored.
///
/// `<DIR>/<CHAIN_ID>/blobstore`
pub fn blobstore_path(&self) -> PathBuf {
self.0.join("blobstore").into()
}

/// Returns the path to the config file for this chain.
///
/// `<DIR>/<CHAIN_ID>/reth.toml`
Expand Down

0 comments on commit f9725a4

Please sign in to comment.