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 /mobile/geth.go | |
parent | df72e20cc521b43092b9e3cc684836d4d673e126 (diff) | |
download | go-tangerine-b7d93500f13e3054c81196273ebf676ad8ecb5ba.tar.gz go-tangerine-b7d93500f13e3054c81196273ebf676ad8ecb5ba.tar.zst go-tangerine-b7d93500f13e3054c81196273ebf676ad8ecb5ba.zip |
all: finish integrating Go ethash, delete C++ vendor
Diffstat (limited to 'mobile/geth.go')
-rw-r--r-- | mobile/geth.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile/geth.go b/mobile/geth.go index 872b482d3..62791652d 100644 --- a/mobile/geth.go +++ b/mobile/geth.go @@ -151,6 +151,9 @@ func NewNode(datadir string, config *NodeConfig) (stack *Node, _ error) { GpobaseStepDown: 10, GpobaseStepUp: 100, GpobaseCorrectionFactor: 110, + EthashCacheDir: "ethash", + EthashCachesInMem: 2, + EthashCachesOnDisk: 3, } if err := rawStack.Register(func(ctx *node.ServiceContext) (node.Service, error) { return les.New(ctx, ethConf) |