Skip to content

Commit

Permalink
Disable incoming clear peer
Browse files Browse the repository at this point in the history
  • Loading branch information
nahuhh authored Jun 26, 2022
1 parent 7d4d80f commit 2b648ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/install-monerod-in-termux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ cd $NODE_CONFIG
# Connection Limits
disable-rpc-ban=1
out-peers=32 # This will enable much faster sync and tx awareness; the default 8 is suboptimal nowadays
in-peers=32 # The default is unlimited; we prefer to put a cap on this
in-peers=0 # The default is unlimited; we prefer to put a cap on this
limit-rate-up=1048576 # 1048576 kB/s == 1GB/s; a raise from default 2048 kB/s; contribute more to p2p network
limit-rate-down=1048576 # 1048576 kB/s == 1GB/s; a raise from default 8192 kB/s; allow for faster initial sync
EOF
Expand Down Expand Up @@ -361,8 +361,8 @@ fi

# P2Pool
cd
P2POOL=$(termux-dialog confirm -t "Install P2Pool?" -i "Would you like to install p2pool?" | jq '.text')
if [ $P2POOL = '"yes"' ]
P2POOL=$(termux-dialog confirm -t "Install P2Pool?" -i "Would you like to install p2pool? (Clearnet)" | jq -r '.text')
if [ $P2POOL = 'yes' ]
then
sh -c "$(curl -fsSL https://github.com/nahuhh/android-termux-monero-node/raw/master-beta-tor/src/installp2pool.sh)"
else
Expand Down

0 comments on commit 2b648ef

Please sign in to comment.