Merge pull request #1161 from XinFinOrg/disable-default-apis

turn off personal, debug, shh apis by default
This commit is contained in:
Anil Chinchawale 2025-06-26 13:11:39 +05:30 committed by GitHub
commit f8c116af7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 \