aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web3ext/web3ext.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-03-06 23:20:25 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-03-09 22:50:14 +0800
commitb7d93500f13e3054c81196273ebf676ad8ecb5ba (patch)
tree1b6c60cbb6b235d87f78ff9a814f1a574510215a /internal/web3ext/web3ext.go
parentdf72e20cc521b43092b9e3cc684836d4d673e126 (diff)
downloaddexon-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 'internal/web3ext/web3ext.go')
-rw-r--r--internal/web3ext/web3ext.go16
1 files changed, 2 insertions, 14 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index e6bd18116..23112c1f1 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -399,20 +399,8 @@ web3._extend({
inputFormatter: [web3._extend.utils.fromDecimal]
}),
new web3._extend.Method({
- name: 'startAutoDAG',
- call: 'miner_startAutoDAG',
- params: 0
- }),
- new web3._extend.Method({
- name: 'stopAutoDAG',
- call: 'miner_stopAutoDAG',
- params: 0
- }),
- new web3._extend.Method({
- name: 'makeDAG',
- call: 'miner_makeDAG',
- params: 1,
- inputFormatter: [web3._extend.formatters.inputDefaultBlockNumberFormatter]
+ name: 'getHashrate',
+ call: 'miner_getHashrate'
})
],
properties: []