turn off personal, debug, shh apis by default

This commit is contained in:
wanwiset25 2025-06-26 11:36:53 +04:00
parent 1c5b5ea883
commit 3e0d61c45d
3 changed files with 3 additions and 3 deletions

View file

@ -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 \

View file

@ -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 \

View file

@ -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 \