From f9725a4f88c44d419be35927a48a46a25e1879d2 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Wed, 15 Nov 2023 21:25:54 +0100 Subject: [PATCH] feat: add blobstore file path functions (#5442) --- bin/reth/src/dirs.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/reth/src/dirs.rs b/bin/reth/src/dirs.rs index 9d1a1f552c..064b18e7f4 100644 --- a/bin/reth/src/dirs.rs +++ b/bin/reth/src/dirs.rs @@ -285,6 +285,14 @@ impl ChainPath { self.0.join("known-peers.json").into() } + /// Returns the path to the blobstore directory for this chain where blobs of unfinalized + /// transactions are stored. + /// + /// `//blobstore` + pub fn blobstore_path(&self) -> PathBuf { + self.0.join("blobstore").into() + } + /// Returns the path to the config file for this chain. /// /// `//reth.toml`