Skip to content

Commit 16bcc10

Browse files
committed
config: support new flag;
1 parent 3a81209 commit 16bcc10

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
BSC_CLUSTER_SIZE=5
1+
BSC_CLUSTER_SIZE=10
22
CHAIN_ID=714
33
KEYPASS="0123456789"
44
INIT_HOLDER="0x04d63aBCd2b9b1baa327f2Dda0f873F197ccd186"
@@ -18,3 +18,4 @@ RegisterNodeID=false
1818
EnableEVNWhitelist=false
1919
RETH_BSC_BINARY_PATH="/Users/user/development/reth-bsc/target/debug/reth-bsc"
2020
RETH_NODE_COUNT=1
21+
BSC_SUBMIT_BUILT_PAYLOAD=true

bsc_cluster.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ function start_reth_bsc() {
342342
echo "node${nodeIndex}, nodekey_path: ${nodekey_path}, peer_conf: ${peer_conf[@]}, evn_conf: ${evn_conf[@]}"
343343

344344
# Run reth-bsc node
345-
nohup env RUST_LOG=trace BREATHE_BLOCK_INTERVAL=${BreatheBlockInterval} ${RETH_BSC_BINARY_PATH} node \
345+
nohup env RUST_LOG=debug BREATHE_BLOCK_INTERVAL=${BreatheBlockInterval} BSC_SUBMIT_BUILT_PAYLOAD=${BSC_SUBMIT_BUILT_PAYLOAD} ${RETH_BSC_BINARY_PATH} node \
346346
--chain ${workspace}/.local/node${nodeIndex}/genesis_reth.json \
347347
--datadir ${workspace}/.local/node${nodeIndex} \
348348
--genesis-hash ${rialtoHash} \
@@ -363,7 +363,7 @@ function start_reth_bsc() {
363363
--mining.enabled \
364364
--mining.keystore-path ${keystore_path} \
365365
--mining.keystore-password ${KEYPASS} "${bls_cli_args[@]}" \
366-
--log.stdout.format log-fmt \
366+
--log.stdout.format log-fmt --engine.persistence-threshold 10 --engine.memory-block-buffer-target 128 \
367367
>> ${workspace}/.local/node${nodeIndex}/reth.log 2>&1 &
368368

369369
if [ ${EnableSentryNode} = true ]; then

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ HTTPModules = ["eth", "mev", "net", "web3", "txpool", "parlia", "debug"]
5050
WSHost = "0.0.0.0"
5151
WSPort = 8545
5252
EnableEVNFeatures = false
53-
EnableQuickBlockFetching = false
53+
EnableQuickBlockFetching = true
5454

5555
[Node.P2P]
5656
MaxPeers = 50

0 commit comments

Comments
 (0)