Files
prysm/beacon-chain/db/db.go
Bastin 92bd211e4d upgrade v6 to v7 (#15989)
* upgrade v6 to v7

* changelog

* update-go-ssz
2025-11-06 16:16:23 +00:00

15 lines
472 B
Go

// Package db defines the ability to create a new database
// for an Ethereum Beacon Node.
package db
import (
"github.com/OffchainLabs/prysm/v7/beacon-chain/db/kv"
)
// NewFileName uses the KVStoreDatafilePath so that if this layer of
// indirection between db.NewDB->kv.NewKVStore ever changes, it will be easy to remember
// to also change this filename indirection at the same time.
func NewFileName(dirPath string) string {
return kv.StoreDatafilePath(dirPath)
}