prysm-pulse/slasher/db/db.go
Raul Jordan 546196a6fa
Other Package Godocs for Prysm (#5681)
* e2e docs
* slasher docs
* Merge branch 'other-package-godocs' of github.com:prysmaticlabs/prysm into other-package-godocs
* all validator package comments
* Merge branch 'master' into other-package-godocs
* completed all other packages
* Merge branch 'master' into other-package-godocs
* Merge refs/heads/master into other-package-godocs
2020-04-29 21:32:39 +00:00

12 lines
273 B
Go

// 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)
}