github.com/palisadeinc/bor@v0.0.0-20230615125219-ab7196213d15/packaging/templates/mainnet-v1/sentry/validator/bor/config.toml (about)

     1  # NOTE: Update and uncomment: `keystore`, `password`, and `unlock` fields.
     2  
     3  chain = "mainnet"
     4  # identity = "node_name"
     5  # verbosity = 3
     6  # vmdebug = false
     7  datadir = "/var/lib/bor/data"
     8  # ancient = ""
     9  # keystore = "$BOR_DIR/keystore"
    10  # "rpc.batchlimit" = 100
    11  # "rpc.returndatalimit" = 100000
    12  syncmode = "full"
    13  # gcmode = "full"
    14  # snapshot = true
    15  # ethstats = ""
    16  # devfakeauthor = false
    17  
    18  # ["eth.requiredblocks"]
    19  
    20  # [log]
    21      # vmodule = ""
    22      # json = false
    23      # backtrace = ""
    24      # debug = true
    25  
    26  [p2p]
    27      maxpeers = 1
    28      port = 30303
    29      nodiscover = true
    30      # maxpendpeers = 50
    31      # bind = "0.0.0.0"
    32      # nat = "any"
    33      # netrestrict = ""
    34      # nodekey = ""
    35      # nodekeyhex = ""
    36      # txarrivalwait = "500ms"
    37      # [p2p.discovery]
    38          # v5disc = false
    39          # bootnodes = []
    40          # bootnodesv4 = []
    41          # bootnodesv5 = []
    42          # static-nodes = []
    43          # trusted-nodes = []
    44          # dns = []
    45  
    46  # [heimdall]
    47      # url = "http://localhost:1317"
    48      # "bor.without" = false
    49      # grpc-address = ""
    50  
    51  [txpool]
    52      nolocals = true
    53      pricelimit = 30000000000
    54      accountslots = 16
    55      globalslots = 32768
    56      accountqueue = 16
    57      globalqueue = 32768
    58      lifetime = "1h30m0s"
    59      # locals = []
    60      # journal = ""
    61      # rejournal = "1h0m0s"
    62      # pricebump = 10
    63  
    64  [miner]
    65      mine = true
    66      gaslimit = 30000000
    67      gasprice = "30000000000"
    68      # etherbase = ""
    69      # extradata = ""
    70      # recommit = "2m5s"
    71      # commitinterrupt = true
    72  
    73  [jsonrpc]
    74      ipcpath = "/var/lib/bor/bor.ipc"
    75      # ipcdisable = false
    76      # gascap = 50000000
    77      # evmtimeout = "5s"
    78      # txfeecap = 5.0
    79      # allow-unprotected-txs = false
    80      [jsonrpc.http]
    81          enabled = true
    82          port = 8545
    83          host = "127.0.0.1"
    84          api = ["eth", "net", "web3", "txpool", "bor"]
    85          vhosts = ["*"]
    86          corsdomain = ["*"]
    87          # prefix = ""
    88          # ep-size = 40
    89          # ep-requesttimeout = "0s"
    90      # [jsonrpc.ws]
    91          # enabled = false
    92          # port = 8546
    93          # prefix = ""
    94          # host = "localhost"
    95          # api = ["web3", "net"]
    96          # origins = ["*"]
    97          # ep-size = 40
    98          # ep-requesttimeout = "0s"
    99      # [jsonrpc.graphql]
   100          # enabled = false
   101          # port = 0
   102          # prefix = ""
   103          # host = ""
   104          # vhosts = ["*"]
   105          # corsdomain = ["*"]
   106      # [jsonrpc.auth]
   107          # jwtsecret = ""
   108          # addr = "localhost"
   109          # port = 8551
   110          # vhosts = ["localhost"]
   111      # [jsonrpc.timeouts]
   112          # read = "10s"
   113          # write = "30s"
   114          # idle = "2m0s"
   115  
   116  [gpo]
   117      # blocks = 20
   118      # percentile = 60
   119      # maxheaderhistory = 1024
   120      # maxblockhistory = 1024
   121      # maxprice = "5000000000000"
   122      ignoreprice = "30000000000"
   123  
   124  [telemetry]
   125      metrics = true
   126      # expensive = false
   127      # prometheus-addr = ""
   128      # opencollector-endpoint = ""
   129      # [telemetry.influx]
   130          # influxdb = false
   131          # endpoint = ""
   132          # database = ""
   133          # username = ""
   134          # password = ""
   135          # influxdbv2 = false
   136          # token = ""
   137          # bucket = ""
   138          # organization = ""
   139      # [telemetry.influx.tags]
   140  
   141  [cache]
   142      cache = 4096
   143      # gc = 25
   144      # snapshot = 10
   145      # database = 50
   146      # trie = 15
   147      # journal = "triecache"
   148      # rejournal = "1h0m0s"
   149      # noprefetch = false
   150      # preimages = false
   151      # txlookuplimit = 2350000
   152      # timeout = "1h0m0s"
   153      # fdlimit = 0
   154  
   155  [accounts]
   156      allow-insecure-unlock = true
   157      # password = "$BOR_DIR/password.txt"
   158      # unlock = ["$ADDRESS"]
   159      # lightkdf = false
   160      # disable-bor-wallet = false
   161  
   162  # [grpc]
   163      # addr = ":3131"
   164  
   165  # [developer]
   166      # dev = false
   167      # period = 0
   168      # gaslimit = 11500000
   169  
   170  # [pprof]
   171  #   pprof = false
   172  #   port = 6060
   173  #   addr = "127.0.0.1"
   174  #   memprofilerate = 524288
   175  #   blockprofilerate = 0