aboutsummaryrefslogtreecommitdiffstats
path: root/mobile
diff options
context:
space:
mode:
Diffstat (limited to 'mobile')
-rw-r--r--mobile/doc.go2
-rw-r--r--mobile/geth.go3
2 files changed, 4 insertions, 1 deletions
diff --git a/mobile/doc.go b/mobile/doc.go
index 89be470cc..64d47bec2 100644
--- a/mobile/doc.go
+++ b/mobile/doc.go
@@ -16,7 +16,7 @@
// Package geth contains the simplified mobile APIs to go-ethereum.
//
-// The scope of this package is *not* to allow writing a custom Ethereun client
+// The scope of this package is *not* to allow writing a custom Ethereum client
// with pieces plucked from go-ethereum, rather to allow writing native dapps on
// mobile platforms. Keep this in mind when using or extending this package!
//
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)