cmd/utils, crypto: add --lightkdf flag for lighter KDF

This commit is contained in:
Drake Burroughs
2015-10-28 18:46:39 +01:00
parent 6b5a42a15c
commit 05ea8926c3
7 changed files with 41 additions and 22 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ func runBlockTests(bt map[string]*BlockTest, skipTests []string) error {
}
func runBlockTest(test *BlockTest) error {
ks := crypto.NewKeyStorePassphrase(filepath.Join(common.DefaultDataDir(), "keystore"))
ks := crypto.NewKeyStorePassphrase(filepath.Join(common.DefaultDataDir(), "keystore"), crypto.StandardScryptN, crypto.StandardScryptP)
am := accounts.NewManager(ks)
db, _ := ethdb.NewMemDatabase()
cfg := &eth.Config{