From 99c7d8e3eb8025b0e17b3ed1af5deaa5d76c549d Mon Sep 17 00:00:00 2001 From: vyzo Date: Fri, 26 Feb 2021 20:53:54 +0200 Subject: [PATCH] more informative names for the hotstore directories --- node/modules/blockstore.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/modules/blockstore.go b/node/modules/blockstore.go index 57c916865..7b6100bd0 100644 --- a/node/modules/blockstore.go +++ b/node/modules/blockstore.go @@ -43,7 +43,7 @@ func LMDBHotBlockstore(lc fx.Lifecycle, r repo.LockedRepo) (dtypes.HotBlockstore return nil, err } - path = filepath.Join(path, "hot.db") + path = filepath.Join(path, "hot.lmdb") bs, err := lmdbbs.Open(&lmdbbs.Options{ Path: path, InitialMmapSize: 4 << 30, // 4GiB. @@ -71,7 +71,7 @@ func BadgerHotBlockstore(lc fx.Lifecycle, r repo.LockedRepo) (dtypes.HotBlocksto return nil, err } - path = filepath.Join(path, "hot.bs") + path = filepath.Join(path, "hot.badger") if err := os.MkdirAll(path, 0755); err != nil { return nil, err }