mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
546196a6fa
* 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
12 lines
273 B
Go
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)
|
|
}
|