diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-03-06 23:20:25 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-03-09 22:50:14 +0800 |
commit | b7d93500f13e3054c81196273ebf676ad8ecb5ba (patch) | |
tree | 1b6c60cbb6b235d87f78ff9a814f1a574510215a /cmd/geth/misccmd.go | |
parent | df72e20cc521b43092b9e3cc684836d4d673e126 (diff) | |
download | dexon-b7d93500f13e3054c81196273ebf676ad8ecb5ba.tar dexon-b7d93500f13e3054c81196273ebf676ad8ecb5ba.tar.gz dexon-b7d93500f13e3054c81196273ebf676ad8ecb5ba.tar.bz2 dexon-b7d93500f13e3054c81196273ebf676ad8ecb5ba.tar.lz dexon-b7d93500f13e3054c81196273ebf676ad8ecb5ba.tar.xz dexon-b7d93500f13e3054c81196273ebf676ad8ecb5ba.tar.zst dexon-b7d93500f13e3054c81196273ebf676ad8ecb5ba.zip |
all: finish integrating Go ethash, delete C++ vendor
Diffstat (limited to 'cmd/geth/misccmd.go')
-rw-r--r-- | cmd/geth/misccmd.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/misccmd.go b/cmd/geth/misccmd.go index 077f1ad11..073c36beb 100644 --- a/cmd/geth/misccmd.go +++ b/cmd/geth/misccmd.go @@ -25,10 +25,10 @@ import ( "strconv" "strings" - "github.com/ethereum/ethash" "github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/eth" "github.com/ethereum/go-ethereum/params" + "github.com/ethereum/go-ethereum/pow" "gopkg.in/urfave/cli.v1" ) @@ -87,7 +87,7 @@ func makedag(ctx *cli.Context) error { utils.Fatalf("Can't find dir") } fmt.Println("making DAG, this could take awhile...") - ethash.MakeDAG(blockNum, dir) + pow.MakeDataset(blockNum, dir) } default: wrongArgs() |