prysm-pulse/slasher/db/db.go

12 lines
273 B
Go
Raw Normal View History

// Package db defines a persistent backend for the slasher service.
package db
import (
"github.com/prysmaticlabs/prysm/slasher/db/kv"
)
// NewDB initializes a new DB.
func NewDB(dirPath string, cfg *kv.Config) (*kv.Store, error) {
return kv.NewKVStore(dirPath, cfg)
}