File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -67,5 +67,5 @@ IdleTimeout = 120000000000
6767[Node .LogConfig ]
6868FilePath = " bsc.log"
6969MaxBytesSize = 10485760
70- Level = " info "
70+ Level = " debug "
7171FileRoot = " "
Original file line number Diff line number Diff line change @@ -6,12 +6,13 @@ FullImmutabilityThreshold=90000
66MinBlocksForBlobRequests=524288
77DefaultExtraReserveForBlobRequests=28800
88BreatheBlockInterval=600
9+ FixedTurnLength=1
910
1011function startChaind() {
1112 workspace=/server/validator
1213
13- FeynmanHardforkTime =` cat ${workspace} /hardforkTime.txt| grep hardforkTime| awk -F" " ' {print $NF}' `
14- CancunHardforkTime =` expr ${FeynmanHardforkTime } + 10`
14+ HardforkTime =` cat ${workspace} /hardforkTime.txt| grep hardforkTime| awk -F" " ' {print $NF}' `
15+ BohrHardforkTime =` expr ${HardforkTime } + 10`
1516 initLog=${workspace} /init.log
1617 rialtoHash=` cat ${initLog} | grep " database=lightchaindata" | awk -F" =" ' {print $NF}' | awk -F' "' ' {print $1}' `
1718
@@ -28,9 +29,10 @@ function startChaind() {
2829 --pprof --pprof.port 6061 \
2930 --syncmode snap --mine --vote --monitor.maliciousvote \
3031 --cache 10480 --light.serve 50 \
31- --rialtohash ${rialtoHash} --override.cancun ${CancunHardforkTime} --override.haber ${CancunHardforkTime } \
32+ --rialtohash ${rialtoHash} --override.bohr ${BohrHardforkTime } \
3233 --override.immutabilitythreshold ${FullImmutabilityThreshold} --override.breatheblockinterval ${BreatheBlockInterval} \
3334 --override.minforblobrequest ${MinBlocksForBlobRequests} --override.defaultextrareserve ${DefaultExtraReserveForBlobRequests} \
35+ --override.fixedturnlength ${FixedTurnLength} \
3436 >> /mnt/efs/validator/${ip} /bscnode.log 2>&1
3537}
3638
Original file line number Diff line number Diff line change @@ -7,9 +7,13 @@ cp /tmp/bsc /server/validator/bsc
77# rm -rf chaindata les.server nodes triecache
88
99# sed -i -e 's/sleep 5/sleep 40/' /server/validator/chaind.sh
10+ # sed -i -e 's/FixedTurnLength=9/FixedTurnLength=1/' /server/validator/chaind.sh
1011
1112# /server/validator/bsc init --datadir /server/validator/ /server/validator/genesis.json
1213
1314# sed -i -e 's/HTTPModules = \[/HTTPModules = \["debug",/g' /server/validator/config.toml
15+ # sed -i -e 's/GlobalSlots = 10000/GlobalSlots = 10000/g' /server/validator/config.toml
16+ # sed -i -e 's/GlobalQueue = 5000/GlobalQueue = 5000/g' /server/validator/config.toml
17+ # sed -i -e 's/Level = "info"/Level = "debug"/g' /server/validator/config.toml
1418
1519service bsc start
You can’t perform that action at this time.
0 commit comments