mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
5a66807989
* First take at updating everything to v5 * Patch gRPC gateway to use prysm v5 Fix patch * Update go ssz --------- Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
15 lines
473 B
Go
15 lines
473 B
Go
// Package db defines the ability to create a new database
|
|
// for an Ethereum Beacon Node.
|
|
package db
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/v5/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)
|
|
}
|