Last active
July 8, 2021 21:42
-
-
Save michael1011/d57056849c4a71d7d012198ce0c8d19d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
set -x #echo on | |
BOR_DIR=${BOR_DIR:-~/.bor} | |
DATA_DIR=$BOR_DIR/data | |
bor --datadir $DATA_DIR \ | |
--port 30303 \ | |
--http --http.addr '0.0.0.0' \ | |
--http.vhosts '*' \ | |
--http.corsdomain '*' \ | |
--http.port 8545 \ | |
--ipcpath $DATA_DIR/bor.ipc \ | |
--http.api 'eth,net,web3,txpool,bor' \ | |
--syncmode 'full' \ | |
--networkid '137' \ | |
--miner.gaslimit '20000000' \ | |
--miner.gastarget '20000000' \ | |
--txpool.nolocals \ | |
--txpool.accountslots 16 \ | |
--txpool.globalslots 131072 \ | |
--txpool.accountqueue 64 \ | |
--txpool.globalqueue 131072 \ | |
--txpool.lifetime '1h30m0s' \ | |
--maxpeers 200 \ | |
--metrics \ | |
--snapshot=false \ | |
--cache=16384 \ | |
--pprof --pprof.port 7071 --pprof.addr '0.0.0.0' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment