aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorViktor TrĂ³n <viktor.tron@gmail.com>2016-11-28 20:29:33 +0800
committerFelix Lange <fjl@twurst.com>2016-11-28 20:29:33 +0800
commite949a2ed2f1c59ed5ff1f187ad987c882656e6ef (patch)
tree836c8b977ef61ddbc8163f70cbed118825822cbe /internal
parent8d0108fc5df81c71010b9dfb11a5db5658fcb80a (diff)
downloaddexon-e949a2ed2f1c59ed5ff1f187ad987c882656e6ef.tar
dexon-e949a2ed2f1c59ed5ff1f187ad987c882656e6ef.tar.gz
dexon-e949a2ed2f1c59ed5ff1f187ad987c882656e6ef.tar.bz2
dexon-e949a2ed2f1c59ed5ff1f187ad987c882656e6ef.tar.lz
dexon-e949a2ed2f1c59ed5ff1f187ad987c882656e6ef.tar.xz
dexon-e949a2ed2f1c59ed5ff1f187ad987c882656e6ef.tar.zst
dexon-e949a2ed2f1c59ed5ff1f187ad987c882656e6ef.zip
cmd/bzzd: swarm daemon fixes (#3359)
* cmd/bzzd: add missing p2p/discovery flags * cmd/bzzd: fix two bugs crashing bzzd if bootnodes flag given * cmd/bzzd: make no swap default, renamed flag bzznoswap->bzzswap * internal/web3ext: correct methods for bzz IPC module * cmd/bzzd: ethapi param not mandatory. Warning if no blockchain * cmd/bzzd: correct default IPC modules in help string * cmd/utils: fix help description for networkId - add Ropsten * cmd/bzz, swarm/api, swarm/network: add swarm networkId flag * cmd/bzzd: change nosync flag to sync and BootTFlag
Diffstat (limited to 'internal')
-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 adf236679..ce50d3634 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -38,12 +38,6 @@ web3._extend({
methods:
[
new web3._extend.Method({
- name: 'blockNetworkRead',
- call: 'bzz_blockNetworkRead',
- params: 1,
- inputFormatter: [null]
- }),
- new web3._extend.Method({
name: 'syncEnabled',
call: 'bzz_syncEnabled',
params: 1,
@@ -68,18 +62,12 @@ web3._extend({
inputFormatter: [null, null]
}),
new web3._extend.Method({
- name: 'retrieve',
- call: 'bzz_retrieve',
+ name: 'resolve',
+ call: 'bzz_resolve',
params: 1,
inputFormatter: [null]
}),
new web3._extend.Method({
- name: 'store',
- call: 'bzz_store',
- params: 2,
- inputFormatter: [null]
- }),
- new web3._extend.Method({
name: 'get',
call: 'bzz_get',
params: 1,