mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 00:58:11 -05:00
feat: add blobstore file path functions (#5442)
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user