mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 13:44:31 +00:00
Merge pull request #1161 from XinFinOrg/disable-default-apis
turn off personal, debug, shh apis by default
This commit is contained in:
commit
f8c116af7b
3 changed files with 3 additions and 3 deletions
|
|
@ -111,7 +111,7 @@ XDC --ethstats ${netstats} \
|
|||
--datadir /work/xdcchain --networkid 551 \
|
||||
--port $port --http --http-corsdomain "*" --http-addr 0.0.0.0 \
|
||||
--http-port $rpc_port \
|
||||
--http-api db,eth,debug,net,shh,txpool,personal,web3,XDPoS \
|
||||
--http-api db,eth,net,txpool,web3,XDPoS \
|
||||
--http-vhosts "*" --unlock "${wallet}" --password /work/.pwd --mine \
|
||||
--miner-gasprice "1" --miner-gaslimit "50000000" --verbosity ${log_level} \
|
||||
--debugdatadir /work/xdcchain \
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ XDC --ethstats ${netstats} \
|
|||
--datadir /work/xdcchain --networkid 50 \
|
||||
--port $port --http --http-corsdomain "*" --http-addr 0.0.0.0 \
|
||||
--http-port $rpc_port \
|
||||
--http-api db,eth,debug,net,shh,txpool,web3,XDPoS \
|
||||
--http-api db,eth,net,txpool,web3,XDPoS \
|
||||
--http-vhosts "*" --unlock "${wallet}" --password /work/.pwd --mine \
|
||||
--miner-gasprice "1" --miner-gaslimit "420000000" --verbosity ${log_level} \
|
||||
--debugdatadir /work/xdcchain \
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ XDC --ethstats ${netstats} \
|
|||
--datadir /work/xdcchain --networkid 51 \
|
||||
--port $port --http --http-corsdomain "*" --http-addr 0.0.0.0 \
|
||||
--http-port $rpc_port \
|
||||
--http-api db,eth,debug,net,shh,txpool,personal,web3,XDPoS \
|
||||
--http-api db,eth,net,txpool,web3,XDPoS \
|
||||
--http-vhosts "*" --unlock "${wallet}" --password /work/.pwd --mine \
|
||||
--miner-gasprice "1" --miner-gaslimit "420000000" --verbosity ${log_level} \
|
||||
--debugdatadir /work/xdcchain \
|
||||
|
|
|
|||
Loading…
Reference in a new issue