From d8e634a7259e6d732d6aae1712e3a17c2613014b Mon Sep 17 00:00:00 2001 From: squidbear <379651+czarly@users.noreply.github.com> Date: Sun, 30 Mar 2025 06:58:15 +0200 Subject: [PATCH] fix --- bsc-testnet/config/config.toml | 2 +- bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml | 15 +-------------- .../bsc-mainnet-bsc-pruned-pebble-path.yml | 19 +++---------------- 3 files changed, 5 insertions(+), 31 deletions(-) diff --git a/bsc-testnet/config/config.toml b/bsc-testnet/config/config.toml index f01657ba..bbe8364d 100644 --- a/bsc-testnet/config/config.toml +++ b/bsc-testnet/config/config.toml @@ -45,4 +45,4 @@ StaticNodes = [ "enode://dbcc5ec23bdf89243688321e8cfa8d80e17edce093206bcc6df998d8148385767cae3058a1c1e20c93c3b8e07962bc7a321deab0aa46c106283f1220f12c220a@3.209.122.123:30311", "enode://665cf77ca26a8421cfe61a52ac312958308d4912e78ce8e0f61d6902e4494d4cc38f9b0dd1b23a427a7a5734e27e5d9729231426b06bb9c73b56a142f83f6b68@52.72.123.113:30311" ] -ListenAddr = ":17474" + diff --git a/bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml b/bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml index 74b7a48f..f65914e6 100644 --- a/bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml +++ b/bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml @@ -2,7 +2,7 @@ services: bsc-chapel: - image: ghcr.io/bnb-chain/bsc:${BSC_VERSION:-1.5.8} + image: ghcr.io/bnb-chain/bsc:${BSC_VERSION:-1.5.8} sysctls: net.ipv4.tcp_slow_start_after_idle: 0 net.ipv4.tcp_no_metrics_save: 1 @@ -26,19 +26,6 @@ services: - --gcmode=full - --rpc.gascap=600000000 - --nat=extip:${IP} - - --miner.gasprice=1000000000 - - --txpool.nolocals - - --txpool.journal=transactions.rlp - - --txpool.pricelimit=1000000000 - - --txpool.pricebump=10 - - --txpool.accountslots=200 - - --txpool.globalslots=8000 - - --txpool.accountqueue=200 - - --txpool.globalqueue=4000 - - --gpo.blocks=20 - - --history.transactions=0 - - --gpo.percentile=60 - - --ipcpath=geth.ipc - --http - --http.addr=0.0.0.0 - --http.port=8545 diff --git a/bsc/bsc/bsc-mainnet-bsc-pruned-pebble-path.yml b/bsc/bsc/bsc-mainnet-bsc-pruned-pebble-path.yml index 2882636d..8122a480 100644 --- a/bsc/bsc/bsc-mainnet-bsc-pruned-pebble-path.yml +++ b/bsc/bsc/bsc-mainnet-bsc-pruned-pebble-path.yml @@ -2,7 +2,7 @@ services: bsc-mainnet: - image: ghcr.io/bnb-chain/bsc:${BSC_VERSION:-1.5.8} + image: ghcr.io/bnb-chain/bsc:${BSC_VERSION:-1.5.8} sysctls: net.ipv4.tcp_slow_start_after_idle: 0 net.ipv4.tcp_no_metrics_save: 1 @@ -15,30 +15,17 @@ services: volumes: - bsc-mainnet-bsc-pruned-pebble-path:/bsc/.ethereum - /slowdisk:/slowdisk - + - ./bsc/config:/config entrypoint: [ "geth" ] command: - --mainnet - + - --config=/config/config.toml - --db.engine=pebble - --state.scheme=path - --syncmode=snap - --gcmode=full - --rpc.gascap=600000000 - --nat=extip:${IP} - - --miner.gasprice=1000000000 - - --txpool.nolocals - - --txpool.journal=transactions.rlp - - --txpool.pricelimit=1000000000 - - --txpool.pricebump=10 - - --txpool.accountslots=200 - - --txpool.globalslots=8000 - - --txpool.accountqueue=200 - - --txpool.globalqueue=4000 - - --gpo.blocks=20 - - --history.transactions=0 - - --gpo.percentile=60 - - --ipcpath=geth.ipc - --http - --http.addr=0.0.0.0 - --http.port=8545