prysm-pulse/beacon-chain/db/db.go
Preston Van Loon e82e582cdf Config to exclude kafka dep at build time (#4309)
* add flag to exclude kafka
* Add config flag to exclude kafka
* Merge branch 'master' into buildtime-exclude-kafka
2019-12-18 02:07:49 +00:00

9 lines
183 B
Go

package db
import "github.com/prysmaticlabs/prysm/beacon-chain/db/kv"
// NewDB initializes a new DB.
func NewDB(dirPath string) (Database, error) {
return kv.NewKVStore(dirPath)
}