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