diff options
Diffstat (limited to 'mobile')
-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) |