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