Web3BB

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    BNB Validator config

    BNB Smart Chain
    1
    1
    1966
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      web3master last edited by

      exec geth
      --config /config/config.mainnet.toml
      --syncmode "snap"
      --gcmode "full"
      --http
      --http.addr 0.0.0.0
      --http.corsdomain ""
      --http.api eth,admin,net,web3,debug
      --http.port "8545"
      --http.vhosts '
      '
      --maxpeers "250"
      --ws
      --ws.addr 0.0.0.0
      --ws.origins "*"
      --ws.port "8545"
      --metrics
      --pprof
      --pprof.addr 0.0.0.0
      --pprof.port "6060"
      --datadir /ethereum
      --keystore /ethereum/keystore
      --cache "32000"
      --networkid "56"
      --txlookuplimit 1024
      --verbosity "3"
      --unlock "${CONSENSUS_ADDRESS}"
      --password /ethereum/keystore/consensus-keystore-password.txt
      --allow-insecure-unlock
      --mine
      $} }(tee -a /var/log/node/bsc.log)

      Config:

      [Eth]
      NetworkId = 56
      NoPruning = false
      NoPrefetch = false
      LightPeers = 0
      UltraLightFraction = 75
      TrieTimeout = 100000000000
      EnablePreimageRecording = false
      EWASMInterpreter = ""
      EVMInterpreter = ""
      [Eth.Miner]
      GasFloor = 30000000
      GasCeil = 40000000
      GasPrice = 5000000000
      Recommit = 10000000000
      Noverify = false
      [Eth.TxPool]
      Locals = []
      NoLocals = true
      Journal = "transactions.rlp"
      Rejournal = 3600000000000
      PriceLimit = 5000000000
      PriceBump = 10
      AccountSlots = 512
      GlobalSlots = 10000
      AccountQueue = 256
      GlobalQueue = 5000
      Lifetime = 10800000000000
      [Eth.GPO]
      Blocks = 20
      Percentile = 60
      OracleThreshold = 20
      [Node]
      IPCPath = "geth.ipc"
      HTTPHost = "localhost"
      NoUSB = true
      InsecureUnlockAllowed = true
      HTTPPort = 8545
      HTTPVirtualHosts = ["localhost"]
      HTTPModules = ["eth", "admin", "net", "web3", "txpool", "parlia"]
      WSPort = 8546
      WSModules = ["net", "web3", "eth"]
      [Node.P2P]
      NoDiscovery = false
      # StaticNodes = [" removed for clarity "]
      #ListenAddr = ":30311"
      EnableMsgEvents = false
      [Node.HTTPTimeouts]
      ReadTimeout = 30000000000
      WriteTimeout = 30000000000
      IdleTimeout = 120000000000
      config.testnet.toml: |-
      [Eth]
      NetworkId = 97
      NoPruning = false
      NoPrefetch = false
      LightPeers = 0
      UltraLightFraction = 75
      EnablePreimageRecording = false
      EWASMInterpreter = ""
      EVMInterpreter = ""
      [Eth.Miner]
      GasFloor = 140000000
      GasCeil = 140000000
      GasPrice = 1000000000
      Recommit = 10000000000
      Noverify = false
      [Eth.TxPool]
      Locals = []
      NoLocals = true
      Journal = "transactions.rlp"
      Rejournal = 3600000000000
      PriceLimit = 1000000000
      PriceBump = 10
      AccountSlots = 16
      GlobalSlots = 4096
      AccountQueue = 64
      GlobalQueue = 1024
      Lifetime = 10800000000000
      [Eth.GPO]
      Blocks = 20
      Percentile = 60
      [Node]
      InsecureUnlockAllowed = true
      NoUSB = true
      IPCPath = "geth.ipc"
      HTTPHost = "127.0.0.1"
      HTTPPort = 8575
      HTTPVirtualHosts = ["*"]
      HTTPModules = ["debug", "eth", "admin", "net", "web3", "txpool", "parlia"]
      WSPort = 8576
      WSModules = ["net", "web3", "eth"]
      [Node.P2P]
      NoDiscovery = false
      StaticNodes = ["removed for clarity"]'

      1 Reply Last reply Reply Quote 0
      • First post
        Last post